FontDialog.chooseFace

void chooseFace(gtk.window.Window parent = null, pango.font_face.FontFace 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 face (i.e. a font family and style, but not a specific font size).

The callback will be called when the dialog is dismissed. It should call gtk.font_dialog.FontDialog.chooseFaceFinish to obtain the result.

Parameters

parentthe parent gtk.window.Window
initialValuethe initial value
cancellablea gio.cancellable.Cancellable to cancel the operation
callbacka callback to call when the operation is complete