Google

logo top
Main Page   Widgets   Namespaces   Book  

Pango::AttrFloat Class Reference

A Pango::AttrFloat is used to represent an attribute with a float or double value. More...

Inheritance diagram for Pango::AttrFloat:

Inheritance graph
[legend]
List of all members.

Public Methods

 AttrFloat (const AttrFloat& src)
 AttrFloat (PangoAttrFloat* castitem, bool take_copy=true)
AttrFloat& operator= (const AttrFloat& src)
double get_value () const
 Gets the floating point value of the attribute.

void set_value (const double& value)
 Sets the floating point value of the attribute.

PangoAttrFloat* gobj ()
const PangoAttrFloat* gobj () const

Protected Methods

 AttrFloat ()

Related Functions

(Note that these are not member functions.)

Pango::AttrFloat wrap (PangoAttrFloat* object, bool take_copy=false)

Detailed Description

A Pango::AttrFloat is used to represent an attribute with a float or double value.


Constructor & Destructor Documentation

Pango::AttrFloat::AttrFloat (   [protected]
 

Pango::AttrFloat::AttrFloat ( const AttrFloat&    src
 

Pango::AttrFloat::AttrFloat ( PangoAttrFloat*    castitem,
bool    take_copy = true
[explicit]
 


Member Function Documentation

double Pango::AttrFloat::get_value (   const
 

Gets the floating point value of the attribute.

Returns:
The floating point value of the attribute.

const PangoAttrFloat* Pango::AttrFloat::gobj (   const [inline]
 

Reimplemented from Pango::Attribute.

PangoAttrFloat* Pango::AttrFloat::gobj (   [inline]
 

Reimplemented from Pango::Attribute.

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

void Pango::AttrFloat::set_value ( const double&    value
 

Sets the floating point value of the attribute.

Parameters:
value The new floating point value for the attribute.


Friends And Related Function Documentation

Pango::AttrFloat wrap ( PangoAttrFloat*    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