choose_face


Description:

public async FontFace? choose_face (Window? parent, FontFace? 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 face.

A font face represents a font family and style, but no specific font size.

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