Pango::AttrString Class Reference

A Pango::AttrString is used to represent an attribute with a string value. More...

Inherits Pango::Attribute.

Collaboration diagram for Pango::AttrString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AttrString (const AttrString& src)
 AttrString (PangoAttrString* castitem, bool take_copy=true)
AttrStringoperator= (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)

Detailed Description

A Pango::AttrString is used to represent an attribute with a string value.


Constructor & Destructor Documentation

Pango::AttrString::AttrString (  )  [protected]
Pango::AttrString::AttrString ( const AttrString src  ) 
Pango::AttrString::AttrString ( PangoAttrString *  castitem,
bool  take_copy = true 
) [explicit]

Member Function Documentation

Glib::ustring Pango::AttrString::get_string (  )  const

Gets the string which is the value of the attribute.

Returns:
The string 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.

Parameters:
string The new string value for the attribute.

Friends And Related Function Documentation

Pango::AttrString wrap ( PangoAttrString *  object,
bool  take_copy = false 
) [related]

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

Generated on Tue May 4 12:30:34 2010 for pangomm by  doxygen 1.6.1