Main Page Widgets Namespaces Book

# Gtk::FontSelection Class Reference
[Widgets]

A widget for selecting fonts. More...

Inheritance diagram for Gtk::FontSelection:

[legend]
List of all members.

## Public Methods
virtual | ~FontSelection ()
GtkFontSelection* | gobj ()
| Provides access to the underlying C GtkObject.
const GtkFontSelection* | gobj () const
| Provides access to the underlying C GtkObject.
| FontSelection ()
Glib::ustring | get_font_name () const
bool | set_font_name (const Glib::ustring& fontname)
Glib::ustring | get_preview_text () const
void | set_preview_text (const Glib::ustring& fontname)
Entry* | get_font_entry ()
const Entry* | get_font_entry () const
Entry* | get_font_style_entry ()
const Entry* | get_font_style_entry () const
Entry* | get_size_entry ()
const Entry* | get_size_entry () const
RadioButton* | get_pixels_button ()
const RadioButton* | get_pixels_button () const
RadioButton* | get_points_button ()
const RadioButton* | get_points_button () const
Button* | get_filter_button ()
const Button* | get_filter_button () const
Entry* | get_preview_entry ()
const Entry* | get_preview_entry () const
Glib::PropertyProxy<Glib::ustring> | property_font_name ()
Glib::PropertyProxy<Glib::ustring> | property_preview_text ()
## Related Functions
(Note that these are not member functions.)
Gtk::FontSelection* | wrap (GtkFontSelection* object, bool take_copy=false)

## Detailed Description

A widget for selecting fonts.

The Gtk::FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the Gtk::FontSelectionDialog widget to provide a dialog box for selecting fonts.

## Constructor & Destructor Documentation

virtual Gtk::FontSelection::~FontSelection | ( |  | ) | `[virtual]`

Gtk::FontSelection::FontSelection | ( |  | ) |

## Member Function Documentation

const Button* Gtk::FontSelection::get_filter_button | ( |  | ) |

Button* Gtk::FontSelection::get_filter_button | ( |  | ) |

const Entry* Gtk::FontSelection::get_font_entry | ( |  | ) |

Entry* Gtk::FontSelection::get_font_entry | ( |  | ) |

Glib::ustring Gtk::FontSelection::get_font_name | ( |  | ) |

const Entry* Gtk::FontSelection::get_font_style_entry | ( |  | ) |

Entry* Gtk::FontSelection::get_font_style_entry | ( |  | ) |

const RadioButton* Gtk::FontSelection::get_pixels_button | ( |  | ) |

RadioButton* Gtk::FontSelection::get_pixels_button | ( |  | ) |

const RadioButton* Gtk::FontSelection::get_points_button | ( |  | ) |

RadioButton* Gtk::FontSelection::get_points_button | ( |  | ) |

const Entry* Gtk::FontSelection::get_preview_entry | ( |  | ) |

Entry* Gtk::FontSelection::get_preview_entry | ( |  | ) |

Glib::ustring Gtk::FontSelection::get_preview_text | ( |  | ) |

const Entry* Gtk::FontSelection::get_size_entry | ( |  | ) |

Entry* Gtk::FontSelection::get_size_entry | ( |  | ) |

const GtkFontSelection* Gtk::FontSelection::gobj | ( |  | ) | const`[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::VBox.

GtkFontSelection* Gtk::FontSelection::gobj | ( |  | ) | `[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::VBox.

Glib::PropertyProxy<Glib::ustring> Gtk::FontSelection::property_font_name | ( |  | ) |

Glib::PropertyProxy<Glib::ustring> Gtk::FontSelection::property_preview_text | ( |  | ) |

bool Gtk::FontSelection::set_font_name | ( | const Glib::ustring& | fontname | ) |

void Gtk::FontSelection::set_preview_text | ( | const Glib::ustring& | fontname | ) |

## Friends And Related Function Documentation

Gtk::FontSelection* wrap | ( | GtkFontSelection* | object,
|  | bool | take_copy = false
| ) | `[related]`

The documentation for this class was generated from the following file:

- fontselection.h