FontDialog.chooseFamily
void chooseFamily(gtk.window.Window parent = null, pango.font_family.FontFamily initialValue = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)This function initiates a font selection operation by presenting a dialog to the user for selecting a font family.
The callback will be called when the dialog is dismissed. It should call [gtk.font_dialog.FontDialog.chooseFamilyFinish] to obtain the result.
Parameters
parent | the parent [gtk.window.Window] |
initialValue | the initial value |
cancellable | a [gio.cancellable.Cancellable] to cancel the operation |
callback | a callback to call when the operation is complete |