choose_face
Description:
public async FontFace? choose_face (Window? parent, FontFace? initial_value, Cancellable? cancellable) throws Error
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 [method@Gtk.FontDialog.choose_face_finish] to obtain the
result.
Parameters:
this |
a `GtkFontDialog` |
parent |
the parent `GtkWindow` |
initial_value |
the initial value |
cancellable |
a `GCancellable` to cancel the operation |
callback |
a callback to call when the operation is complete |
user_data |
data to pass to |