A Pango::AttrString is used to represent an attribute with a string value. More...
Inherits Pango::Attribute.
Public Member Functions | |
AttrString (const AttrString& src) | |
AttrString (PangoAttrString* castitem, bool take_copy=true) | |
AttrString& | operator= (const AttrString& src) |
Glib::ustring | get_string () const |
Gets the string which is the value of the attribute. | |
void | set_string (const Glib::ustring&string) |
Sets the string which is the value of the attribute. | |
PangoAttrString* | gobj () |
Provides access to the underlying C GObject. | |
const PangoAttrString* | gobj () const |
Provides access to the underlying C GObject. | |
Protected Member Functions | |
AttrString () | |
Related Functions | |
(Note that these are not member functions.) | |
Pango::AttrString | wrap (PangoAttrString* object, bool take_copy=false) |
A Pango::AttrString is used to represent an attribute with a string value.
Pango::AttrString::AttrString | ( | ) | [protected] |
Pango::AttrString::AttrString | ( | const AttrString& | src | ) |
Pango::AttrString::AttrString | ( | PangoAttrString * | castitem, | |
bool | take_copy = true | |||
) | [explicit] |
Glib::ustring Pango::AttrString::get_string | ( | ) | const |
Gets the string which is the value of the attribute.
const PangoAttrString* Pango::AttrString::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
PangoAttrString* Pango::AttrString::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
AttrString& Pango::AttrString::operator= | ( | const AttrString& | src | ) |
Reimplemented from Pango::Attribute.
void Pango::AttrString::set_string | ( | const Glib::ustring & | string | ) |
Sets the string which is the value of the attribute.
string | The new string value for the attribute. |
Pango::AttrString wrap | ( | PangoAttrString * | object, | |
bool | take_copy = false | |||
) | [related] |