Main Page Widgets Namespaces Book

# Pango::AttrString Class Reference

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

Inheritance diagram for Pango::AttrString:

[legend]
List of all members.

## Public Methods
| 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 ()
const PangoAttrString* | gobj () const
## Protected Methods
| 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 | ( |  | ) |

| Gets the string which is the value of the attribute. Returns: The string value of the attribute.

const PangoAttrString* Pango::AttrString::gobj | ( |  | ) | const`[inline]`

| Reimplemented from Pango::Attribute.

PangoAttrString* Pango::AttrString::gobj | ( |  | ) | `[inline]`

| Reimplemented from Pango::Attribute.

AttrString& Pango::AttrString::operator= | ( | const AttrString& | src | ) |

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:

- attributes.h