Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::FontSelectionDialog Class Reference

A GtkFontSelectionDialog C++ wrapper class. More...

#include <inti/gtk/fontselection.h>

Inheritance diagram for Inti::Gtk::FontSelectionDialog:

Inti::Gtk::Dialog Inti::Gtk::Window Inti::Gtk::Bin Inti::Gtk::Container Inti::Gtk::Widget Inti::Gtk::Object Inti::Atk::Implementor Inti::G::Object Inti::G::TypeInterface Inti::G::TypeInstance Inti::MemoryHandler Inti::G::TypeInstance Inti::ReferencedBase Inti::ReferencedBase List of all members.

Public Member Functions

Constructors
Accessors
Methods

Protected Member Functions

Constructors

Detailed Description

A GtkFontSelectionDialog C++ wrapper class.

The FontSelectionDialog widget is a dialog box for selecting a font. To set the font which is initially selected, use set_font_name(). To get the selected font use get_font_name(). To change the text which is shown in the preview area, use set_preview_text().


Constructor & Destructor Documentation

Inti::Gtk::FontSelectionDialog::FontSelectionDialog GtkFontSelectionDialog *  font_selection_dialog,
bool  reference = false
[explicit, protected]
 

Construct a new FontSelectionDialog from an existing GtkFontSelectionDialog.

Parameters:
font_selection_dialog A pointer to a GtkFontSelectionDialog.
reference Set false if the initial reference count is floating, set true if it's not.

The font_selection_dialog can be a newly created GtkFontSelectionDialog or an existing GtkFontSelectionDialog (see G::Object::Object).

Inti::Gtk::FontSelectionDialog::FontSelectionDialog const String title  )  [explicit]
 

Construct a new FontSelectionDialog with the specified title.

Parameters:
title The title of the dialog box.


Member Function Documentation

bool Inti::Gtk::FontSelectionDialog::set_font_name const String fontname  ) 
 

Sets the currently selected font.

Parameters:
fontname A fontname.
Returns:
true if the font was found.

void Inti::Gtk::FontSelectionDialog::set_preview_text const String text  ) 
 

Sets the text displayed in the preview area.

Parameters:
text The text to display in the preview area.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:15 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002