Package: gtk

Function gtk:style-context-font

Lambda List

gtk:style-context-font (context state)

Arguments

context -- a gtk:style-context object
state -- a value of the gtk:state-flags flags to retrieve the font for

Return Value

Returns a pango:font-description instance for the given state.

Details

Returns the Pango font description for a given state.

Warning

The gtk:style-context-font function has been deprecated since version 3.8 and should not be used in newly written code. Use the gtk:style-context-property function for "font" or subproperties instead.
 

See also

#2023-3-27