A gtk.font_dialog.FontDialog 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 gtk.font_dialog.FontDialog.chooseFont 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 gtk.font_dialog.FontDialog.chooseFontFinish.
See gtk.font_dialog_button.FontDialogButton for a convenient control that uses gtk.font_dialog.FontDialog and presents the results.
A gtk.font_dialog.FontDialog 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 gtk.font_dialog.FontDialog.chooseFont 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 gtk.font_dialog.FontDialog.chooseFontFinish.
See gtk.font_dialog_button.FontDialogButton for a convenient control that uses gtk.font_dialog.FontDialog and presents the results.