chooseFont

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

This function initiates a font selection operation by presenting a dialog to the user for selecting a font.

If you want to let the user select font features as well, use method@Gtk.FontDialog.choose_font_and_features instead.

Since

4.10

Parameters

parent

the parent GtkWindow

initialValue

the font to select initially

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete