Learn R Programming

RGtk2 (version 2.8.8)

GtkFontSelectionDialog: GtkFontSelectionDialog

Description

A dialog box for selecting fonts

Arguments

Methods and Functions

gtkFontSelectionDialogNew(title = NULL, show = TRUE) gtkFontSelectionDialogGetFont(object) gtkFontSelectionDialogGetFontName(object) gtkFontSelectionDialogSetFontName(object, fontname) gtkFontSelectionDialogGetPreviewText(object) gtkFontSelectionDialogSetPreviewText(object, text) gtkFontSelectionDialog(title = NULL, show = TRUE)

Hierarchy

\link{GObject} +----\link{GtkObject} +----\link{GtkWidget} +----\link{GtkContainer} +----\link{GtkBin} +----\link{GtkWindow} +----\link{GtkDialog} +----GtkFontSelectionDialog

Interfaces

GtkFontSelectionDialog implements AtkImplementorIface.

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 gtkFontSelectionDialogGetFont or gtkFontSelectionDialogGetFontName. To change the text which is shown in the preview area, use gtkFontSelectionDialogSetPreviewText.

Convenient Construction

gtkFontSelectionDialog is the equivalent of gtkFontSelectionDialogNew.

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkFontSelectionDialog.html