Google

logo top
Main Page   Widgets   Namespaces   Book  

Pango::AttrColor Class Reference

A Pango::AttrColor is used to represent an attribute which is a color. More...

Inheritance diagram for Pango::AttrColor:

Inheritance graph
[legend]
List of all members.

Public Methods

 AttrColor (const AttrColor& src)
 AttrColor (PangoAttrColor* castitem, bool take_copy=true)
AttrColor& operator= (const AttrColor& src)
Color get_color () const
 Gets the color which is the value of the attribute.

void set_color (const Color& value)
 Sets the color which is the value of the attribute.

PangoAttrColor* gobj ()
const PangoAttrColor* gobj () const

Protected Methods

 AttrColor ()

Related Functions

(Note that these are not member functions.)

Pango::AttrColor wrap (PangoAttrColor* object, bool take_copy=false)

Detailed Description

A Pango::AttrColor is used to represent an attribute which is a color.


Constructor & Destructor Documentation

Pango::AttrColor::AttrColor (   [protected]
 

Pango::AttrColor::AttrColor ( const AttrColor&    src
 

Pango::AttrColor::AttrColor ( PangoAttrColor*    castitem,
bool    take_copy = true
[explicit]
 


Member Function Documentation

Color Pango::AttrColor::get_color (   const
 

Gets the color which is the value of the attribute.

Returns:
The color value of the attribute.

const PangoAttrColor* Pango::AttrColor::gobj (   const [inline]
 

Reimplemented from Pango::Attribute.

PangoAttrColor* Pango::AttrColor::gobj (   [inline]
 

Reimplemented from Pango::Attribute.

AttrColor& Pango::AttrColor::operator= ( const AttrColor&    src
 

void Pango::AttrColor::set_color ( const Color   value
 

Sets the color which is the value of the attribute.

Parameters:
color The new color value for the attribute.


Friends And Related Function Documentation

Pango::AttrColor wrap ( PangoAttrColor*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001