GtkFontSelectionDialog {RGtk2}R Documentation

GtkFontSelectionDialog

Description

A dialog box for selecting fonts

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

  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----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.

Structures

GtkFontSelectionDialog

okButton
[GtkWidget] The OK button of the dialog
applyButton
[GtkWidget] The Apply button of the dialog. This button is hidden by default but you can show/hide it
cancelButton
[GtkWidget] The Cancel button of the dialog

Convenient Construction

gtkFontSelectionDialog is the equivalent of gtkFontSelectionDialogNew.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

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


[Package RGtk2 version 2.8.5 Index]