Next: , Previous: GtkFontSelection, Up: Top

88 GtkFontSelectionDialog

A dialog box for selecting fonts

88.1 Overview

The <gtk-font-selection-dialog> widget is a dialog box for selecting a font.

To set the font which is initially selected, use gtk-font-selection-dialog-set-font-name.

To get the selected font use gtk-font-selection-dialog-get-font-name.

To change the text which is shown in the preview area, use gtk-font-selection-dialog-set-preview-text.

88.2 Usage

— Class: <gtk-font-selection-dialog>

Derives from <gtk-dialog>.

This class defines no direct slots.

— Function: gtk-font-selection-dialog-new (title mchars) ⇒  (ret <gtk-widget>)

Creates a new <gtk-font-selection-dialog>.

the title of the dialog box.
a new <gtk-font-selection-dialog>.