Package: gtk

Function gtk:font-dialog-choose-family

Lambda List

gtk:font-dialog-choose-family (dialog parent family cancellable func)

Arguments

dialog -- a gtk:font-dialog object
parent -- a parent gtk:window widget
family -- a pango:font-family object
cancellable -- a g:cancellable object to cancel the operation
func -- a g:async-ready-callback callback function to call when the operation is complete

Details

This function initiates a font selection operation by presenting a dialog to the user for selecting a font family. The callback will be called when the dialog is dismissed. It should call the gtk:font-dialog-choose-family-finish function to obtain the result.

Since 4.10
 

See also

#2023-10-19