Class
GtkFontDialog
since: 4.10
Description [src]
final class Gtk.FontDialog : GObject.Object
{
/* No available fields */
}
Collects the arguments that are needed to present a font chooser dialog to the user, such as a title for the dialog and whether it should be modal.
The dialog is shown with the gtk_font_dialog_choose_font()
function or its variants.
See GtkFontDialogButton
for a convenient control
that uses GtkFontDialog
and presents the results.
Available since: 4.10
Instance methods
gtk_font_dialog_choose_font_and_features_finish
Finishes the gtk_font_dialog_choose_font_and_features()
call.
since: 4.10
gtk_font_dialog_get_filter
Returns the filter that decides which fonts to display in the font chooser dialog.
since: 4.10
gtk_font_dialog_get_font_map
Returns the fontmap from which fonts are selected,
or NULL
for the default fontmap.
since: 4.10
gtk_font_dialog_get_modal
Returns whether the font chooser dialog blocks interaction with the parent window while it is presented.
since: 4.10
gtk_font_dialog_get_title
Returns the title that will be shown on the font chooser dialog.
since: 4.10
gtk_font_dialog_set_filter
Adds a filter that decides which fonts to display in the font chooser dialog.
since: 4.10
gtk_font_dialog_set_modal
Sets whether the font chooser dialog blocks interaction with the parent window while it is presented.
since: 4.10
Properties
Gtk.FontDialog:filter
A filter to restrict what fonts are shown in the font chooser dialog.
since: 4.10
Gtk.FontDialog:title
A title that may be shown on the font chooser
dialog that is presented by gtk_font_dialog_choose_font()
.
since: 4.10