state. This object is owned by GTK+ and should not be freed.
StyleContext.getFont
pango.font_description.FontDescription getFont(gtk.types.StateFlags state)Returns the font description for a given state. The returned object is const and will remain valid until the #GtkStyleContext::changed signal happens.
Parameters
state | state to retrieve the font for |
Returns
the #PangoFontDescription for the given
Deprecated
Use [gtk.style_context.StyleContext.get] for "font" or
subproperties instead.