choose_font
Description:
public async FontDescription? choose_font (Window? parent, FontDescription? initial_value, Cancellable? cancellable) throws Error
Presents a font chooser dialog to the user.
The font chooser dialog will be set up 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.
Parameters:
this |
a font dialog |
parent |
the parent window |
initial_value |
the font to select initially |
cancellable |
a cancellable to cancel the operation |
callback |
a callback to call when the operation is complete |
user_data |
data to pass to |