chooseFamily

open fun chooseFamily(parent: Window? = null, initialValue: <Error class: unknown class>? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

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 method@Gtk.FontDialog.choose_family_finish to obtain the result.

Since

4.10

Parameters

parent

the parent GtkWindow

initialValue

the initial value

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete