FontDialog


Object Hierarchy:

Gtk.FontDialog Gtk.FontDialog Gtk.FontDialog GLib.Object GLib.Object GLib.Object->Gtk.FontDialog

Description:

[ CCode ( type_id = "gtk_font_dialog_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class FontDialog : Object

A `GtkFontDialog` object 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 [method@Gtk.FontDialog.choose_font] function or its variants. This API follows the GIO async pattern, and the result can be obtained by calling the corresponding finish function, such as [method@Gtk.FontDialog.choose_font_finish].

See [class@Gtk.FontDialogButton] for a convenient control that uses `GtkFontDialog` and presents the results.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: