A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once. More...
Inherits Pango::Attribute.
Public Member Functions | |
AttrFontDesc (const AttrFontDesc& src) | |
AttrFontDesc (PangoAttrFontDesc* castitem, bool take_copy=true) | |
AttrFontDesc& | operator= (const AttrFontDesc& src) |
FontDescription | get_desc () const |
Gets the font description which is the value of the attribute. | |
void | set_desc (const FontDescription& desc) |
Sets the font description which is the value of the attribute. | |
PangoAttrFontDesc* | gobj () |
Provides access to the underlying C GObject. | |
const PangoAttrFontDesc* | gobj () const |
Provides access to the underlying C GObject. | |
Protected Member Functions | |
AttrFontDesc () | |
Related Functions | |
(Note that these are not member functions.) | |
Pango::AttrFontDesc | wrap (PangoAttrFontDesc* object, bool take_copy=false) |
A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once.
Pango::AttrFontDesc::AttrFontDesc | ( | ) | [protected] |
Pango::AttrFontDesc::AttrFontDesc | ( | const AttrFontDesc& | src | ) |
Pango::AttrFontDesc::AttrFontDesc | ( | PangoAttrFontDesc * | castitem, | |
bool | take_copy = true | |||
) | [explicit] |
FontDescription Pango::AttrFontDesc::get_desc | ( | ) | const |
Gets the font description which is the value of the attribute.
const PangoAttrFontDesc* Pango::AttrFontDesc::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
PangoAttrFontDesc* Pango::AttrFontDesc::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
AttrFontDesc& Pango::AttrFontDesc::operator= | ( | const AttrFontDesc& | src | ) |
Reimplemented from Pango::Attribute.
void Pango::AttrFontDesc::set_desc | ( | const FontDescription& | desc | ) |
Sets the font description which is the value of the attribute.
desc | The new font description for the attribute. |
Pango::AttrFontDesc wrap | ( | PangoAttrFontDesc * | object, | |
bool | take_copy = false | |||
) | [related] |