RGtk2 (version 2.20.31)

GtkFontSelectionDialog: GtkFontSelectionDialog

Description

A dialog box for selecting fonts

Arguments

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----GtkFontSelectionDialog

Interfaces

GtkFontSelectionDialog implements AtkImplementorIface and GtkBuildable.

Detailed Description

The GtkFontSelectionDialog widget is a dialog box for selecting a font. To set the font which is initially selected, use gtkFontSelectionDialogSetFontName. To get the selected font use gtkFontSelectionDialogGetFontName. To change the text which is shown in the preview area, use gtkFontSelectionDialogSetPreviewText.

GtkFontSelectionDialog as GtkBuildable

The GtkFontSelectionDialog implementation of the GtkBuildable interface exposes the embedded GtkFontSelection as internal child with the name "font_selection". It also exposes the buttons with the names "ok_button", "cancel_button" and "apply_button".

Structures

Convenient Construction

gtkFontSelectionDialog is the equivalent of gtkFontSelectionDialogNew.

References

http://library.gnome.org/devel//gtk/GtkFontSelectionDialog.html