gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
Font Class Reference

#include <Pango.H>

Inheritance diagram for Font:
[legend]
Collaboration diagram for Font:
[legend]

Public Member Functions

 Font ()
 Empty constructor. More...
 
 Font (const char *str)
 Construct a font description from a character array. More...
 
 Font (string str)
 Construct a font description from a string. More...
 
 ~Font (void)
 
PangoFontDescription * getPangoFontDescription (void)
 

Private Member Functions

void init ()
 

Private Attributes

PangoFontDescription * pangoFontDescription
 

Detailed Description

Type defines a font for Pango to use For example : Pango pango << Font("Sans 12");

Examples:
ButtonsFontTest.C, MessageDialogTest.C, and PangoTest.C.

Definition at line 27 of file Pango.H.

Constructor & Destructor Documentation

◆ Font() [1/3]

Font::Font ( )
inline

Empty constructor.

Definition at line 34 of file Pango.H.

Here is the call graph for this function:

◆ Font() [2/3]

Font::Font ( const char *  str)
inline

Construct a font description from a character array.

Definition at line 35 of file Pango.H.

Here is the call graph for this function:

◆ Font() [3/3]

Font::Font ( string  str)
inline

Construct a font description from a string.

Definition at line 36 of file Pango.H.

Here is the call graph for this function:

◆ ~Font()

Font::~Font ( void  )
inline

Destruct the class.

Definition at line 41 of file Pango.H.

Member Function Documentation

◆ getPangoFontDescription()

PangoFontDescription* Font::getPangoFontDescription ( void  )
inline

Construct a PangoFontDescription * from the current contents of the inherited string

Examples:
ButtonsFontTest.C.

Definition at line 49 of file Pango.H.

◆ init()

void Font::init ( void  )
inlineprivate

Common constructor initialisation

Definition at line 32 of file Pango.H.

Here is the caller graph for this function:

Member Data Documentation

◆ pangoFontDescription

PangoFontDescription* Font::pangoFontDescription
private

Definition at line 28 of file Pango.H.


The documentation for this class was generated from the following file:
gtkIOStream: Font Class Reference
GTK+ IOStream  Beta