Forum und email

GtkFontSelectionDialog

A standard dialog box to select a font.

Йерархия на обектите

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkWindow
                                   `-- GtkDialog
                                          `-- GtkFontSelectionDialog

Описание

The GtkFontSelectionDialog provides a standard dialog box which allows the user to select a font. The dialog box implements the GtkFontSelection widget to enable the user to pick a font.

Constructors

GtkFontSelectionDialog (string title);

-- Creates a new GtkFontSelectionDialog.

Методи

get_font()
  DEPRECATED. Returns the currently selected font.
get_font_name()
  Returns the name of the font currently selected.
get_preview_text()
  Returns the currently set preview text.
set_font_name()
  Sets the font name being used by the dialog.
set_preview_text()
  Sets the preview text to be displayed by the dialog.

Полета

action_area:
  The action_area property of the dialog.
apply_button:
  The Apply button widget of the dialog.
cancel_button:
  The Cancel button widget of the dialog.
fontsel:
  The font selection widget of the dialog.
main_vbox:
  The main_vbox property of the dialog.
ok_button:
  The Ok button widget of the dialog.