gtk.font_selection_dialog

Module for [FontSelectionDialog] class

Types 3

Methods
GType _gType() @property
FontSelectionDialog self()Returns `this`, for use in `with` statements.
FontSelectionDialogGidBuilder builder()Get builder for [gtk.fontselectiondialog.FontSelectionDialog] Returns: New builder object
gtk.widget.Widget getCancelButton()Gets the “Cancel” button. Returns: the #GtkWidget used in the dialog for the “Cancel” button.
string getFontName()Gets the currently-selected font name.
gtk.widget.Widget getFontSelection()Retrieves the #GtkFontSelection widget embedded in the dialog. Returns: the embedded #GtkFontSelection
gtk.widget.Widget getOkButton()Gets the “OK” button. Returns: the #GtkWidget used in the dialog for the “OK” button.
string getPreviewText()Gets the text displayed in the preview area. Returns: the text displayed in the preview area. This string is owned by the widget and should not be modified or freed
bool setFontName(string fontname)Sets the currently selected font.
void setPreviewText(string text)Sets the text displayed in the preview area.
Constructors
this(void * ptr, Flag!"Take" take)
this(string title)Creates a new #GtkFontSelectionDialog.

Fluent builder for [gtk.font_selection_dialog.FontSelectionDialog]