choose_family


Description:

public async FontFamily? choose_family (Window? parent, FontFamily? 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 family.

Parameters:

this

a font dialog

parent

the parent window

initial_value

the initial value

cancellable

a cancellable to cancel the operation

callback

a callback to call when the operation is complete

user_data

data to pass to callback