logo top
Main Page  Namespaces  Book 

Pango::AttrFontDesc Class Reference

A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once. More...

Inheritance diagram for Pango::AttrFontDesc:

List of all members.

Public Member Functions

 AttrFontDesc (const AttrFontDesc& src)
 AttrFontDesc (PangoAttrFontDesc* castitem, bool take_copy=true)
AttrFontDescoperator= (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)


Detailed Description

A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once.

Constructor& Destructor Documentation

Pango::AttrFontDesc::AttrFontDesc (  )  [protected]

Pango::AttrFontDesc::AttrFontDesc ( const AttrFontDesc src  ) 

Pango::AttrFontDesc::AttrFontDesc ( PangoAttrFontDesc *  castitem,
bool  take_copy = true 
) [explicit]


Member Function Documentation

AttrFontDesc& Pango::AttrFontDesc::operator= ( const AttrFontDesc src  ) 

FontDescription Pango::AttrFontDesc::get_desc (  )  const

Gets the font description which is the value of the attribute.

Returns:
The font description of the attribute.

void Pango::AttrFontDesc::set_desc ( const FontDescription desc  ) 

Sets the font description which is the value of the attribute.

Parameters:
desc The new font description for the attribute.

PangoAttrFontDesc* Pango::AttrFontDesc::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.

const PangoAttrFontDesc* Pango::AttrFontDesc::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.


Friends And Related Function Documentation

Pango::AttrFontDesc wrap ( PangoAttrFontDesc *  object,
bool  take_copy = false 
) [related]


The documentation for this class was generated from the following file:

Generated for pangomm by Doxygen 1.5.6 © 1997-2001