gtk.font_selection_dialog

Module for [FontSelectionDialog] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FontSelectionDialog self() nothrowReturns `this`, for use in `with` statements.
FontSelectionDialogGidBuilder builder() static nothrowGet builder for [gtk.font_selection_dialog.FontSelectionDialog] Returns: New builder object
gtk.widget.Widget getCancelButton() nothrowGets the “Cancel” button. Returns: the #GtkWidget used in the dialog for the “Cancel” button.
string getFontName() nothrowGets the currently-selected font name.
gtk.widget.Widget getFontSelection() nothrowRetrieves the #GtkFontSelection widget embedded in the dialog. Returns: the embedded #GtkFontSelection
gtk.widget.Widget getOkButton() nothrowGets the “OK” button. Returns: the #GtkWidget used in the dialog for the “OK” button.
string getPreviewText() nothrowGets 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) nothrowSets the currently selected font.
void setPreviewText(string text) nothrowSets the text displayed in the preview area.
Constructors
this(void * ptr, Flag!"Take" take)
this(string title)Creates a new #GtkFontSelectionDialog.