Description Methods and Functions Hierarchy Interfaces Detailed Description GtkFontSelectionDialog as GtkBuildable Structures Convenient Construction Author(s) References
A dialog box for selecting fonts
gtkFontSelectionDialogNew(title = NULL, show = TRUE)
gtkFontSelectionDialogGetFont(object)
gtkFontSelectionDialogGetFontName(object)
gtkFontSelectionDialogSetFontName(object, fontname)
gtkFontSelectionDialogGetPreviewText(object)
gtkFontSelectionDialogSetPreviewText(object, text)
gtkFontSelectionDialogGetApplyButton(object)
gtkFontSelectionDialogGetApplyButton(object)
gtkFontSelectionDialogGetCancelButton(object)
gtkFontSelectionDialogGetOkButton(object)
gtkFontSelectionDialog(title = NULL, show = TRUE)
1 2 3 4 5 6 7 8 9 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
+----GtkFontSelectionDialog
|
GtkFontSelectionDialog implements
AtkImplementorIface and GtkBuildable.
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.
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".
GtkFontSelectionDialogundocumented
okButton[GtkWidget]
applyButton[GtkWidget]
cancelButton[GtkWidget]
gtkFontSelectionDialog is the equivalent of gtkFontSelectionDialogNew.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkFontSelectionDialog.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.