Package: gtk

Function gtk:font-dialog-choose-font-and-features

Lambda List

gtk:font-dialog-choose-font-and-features (dialog parent desc cancellable func)

Arguments

dialog -- a gtk:font-dialog object
parent -- a parent gtk:window widget
desc -- a pango:font-description 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 and font features. Font features affect how the font is rendered, for example enabling glyph variants or ligatures.

The callback will be called when the dialog is dismissed. It should call the gtk:font-dialog-choose-font-and-features-finish function to obtain the result.

Since 4.10
 

See also

#2023-10-19