GtkFontSelectionDialog {RGtk2} | R Documentation |
A dialog box for selecting fonts
gtkFontSelectionDialogNew(title = NULL, show = TRUE)
gtkFontSelectionDialogGetFont(object)
gtkFontSelectionDialogGetFontName(object)
gtkFontSelectionDialogSetFontName(object, fontname)
gtkFontSelectionDialogGetPreviewText(object)
gtkFontSelectionDialogSetPreviewText(object, text)
gtkFontSelectionDialog(title = NULL, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkFontSelectionDialog
GtkFontSelectionDialog implements
GtkBuildable
and AtkImplementorIface.
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".
GtkFontSelectionDialog
okButton
GtkWidget
] The OK button of the dialogapplyButton
GtkWidget
] The Apply button of the dialog. This button is hidden
by default but you can show/hide itcancelButton
GtkWidget
] The Cancel button of the dialog
gtkFontSelectionDialog
is the equivalent of gtkFontSelectionDialogNew
.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkFontSelectionDialog.html