gtk.font_selection_dialog
Module for [FontSelectionDialog] class
Types 3
Methods
FontSelectionDialog self()Returns `this`, for use in `with` statements.FontSelectionDialogGidBuilder builder()Get builder for [gtk.fontselectiondialog.FontSelectionDialog] Returns: New builder objectgtk.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 #GtkFontSelectiongtk.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 freedbool setFontName(string fontname)Sets the currently selected font.void setPreviewText(string text)Sets the text displayed in the preview area.classFontSelectionDialogGidBuilder : FontSelectionDialogGidBuilderImpl!FontSelectionDialogGidBuilder
Fluent builder for [gtk.font_selection_dialog.FontSelectionDialog]
Methods