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.

More...

Parameters

state gtk.types.StateFlags

state to retrieve the font for

Return Value

Type: pango.font_description.FontDescription

the #PangoFontDescription for the given state. This object is owned by GTK+ and should not be freed.

Detailed Description

Deprecated: Use gtk.style_context.StyleContext.get for "font" or subproperties instead.