libvtemm 0.25.0
Public Member Functions
Gnome::Vte::TextAndCharAttrs Class Reference

TextAndCharAttrs - class storing string and its attributes. More...

#include <libvtemm/textandcharattrs.h>

List of all members.

Public Member Functions

 TextAndCharAttrs (const Glib::ustring& text, const ArrayHandle_CharAttributes& attributes)
 The only way to fill Gnome::Vte::TextAndCharAttrs class.
Glib::ustring get_text () const
 Gets stored string.
ArrayHandle_CharAttributes get_attributes () const
 Gets stored attributes.

Detailed Description

TextAndCharAttrs - class storing string and its attributes.


Constructor & Destructor Documentation

Gnome::Vte::TextAndCharAttrs::TextAndCharAttrs ( const Glib::ustring text,
const ArrayHandle_CharAttributes attributes 
)

The only way to fill Gnome::Vte::TextAndCharAttrs class.

Parameters:
textString to store.
attributesArray of string's attributes.

Member Function Documentation

ArrayHandle_CharAttributes Gnome::Vte::TextAndCharAttrs::get_attributes ( ) const

Gets stored attributes.

Returns:
Stored attributes.
Glib::ustring Gnome::Vte::TextAndCharAttrs::get_text ( ) const

Gets stored string.

Returns:
Stored string.