StyleContext.getFont

Returns the font description for a given state. The returned object is const and will remain valid until the #GtkStyleContext::changed signal happens.

Parameters

statestate to retrieve the font for

Returns

the #PangoFontDescription for the given

state. This object is owned by GTK+ and should not be freed.

Deprecated

Use [gtk.style_context.StyleContext.get] for "font" or

subproperties instead.