Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Pango::AttrString Class Reference

A PangoAttrString C++ wrapper class. More...

#include <xfc/pango/attributes.hh>

Inheritance diagram for Xfc::Pango::AttrString:

Xfc::Pango::Attribute Xfc::Object Xfc::Trackable Xfc::Pango::AttrFamily List of all members.

Public Member Functions

Accessors
Methods

Detailed Description

A PangoAttrString C++ wrapper class.

AttrString is the base class for string attributes.


Constructor & Destructor Documentation

Xfc::Pango::AttrString::AttrString ( PangoAttribute *  attr,
bool  copy 
) [explicit, protected]

Construct a new string attribute from an existing string PangoAttribute.

Parameters:
attr A string PangoAttribute.
copy Set true if a copy of attr should be used.
If copy is true attr is copied. If false attr is assumed to be a valid string attribute that must be freed. Either way AttrString will own the PangoAttribute and free it when it's no longer required.

Xfc::Pango::AttrString::AttrString ( PangoAttribute *  attr,
bool  copy 
) [explicit, protected]

Construct a new string attribute from an existing string PangoAttribute.

Parameters:
attr A string PangoAttribute.
copy Set true if a copy of attr should be used.
If copy is true attr is copied. If false attr is assumed to be a valid string attribute that must be freed. Either way AttrString will own the PangoAttribute and free it when it's no longer required.


Member Function Documentation

void Xfc::Pango::AttrString::set_string ( const String str  ) 

Sets the string value for the attribute.

Parameters:
str The new string, either a font family or language.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3