StyleContext.getFont

Warning gtk_style_context_get_font has been deprecated since version 3.8 and should not be used in newly-written code. Use gtk_style_context_get() for "font" or subproperties instead. Returns the font description for a given state. The returned object is const and will remain valid until the "changed" signal happens.

class StyleContext
getFont

Parameters

state GtkStateFlags

state to retrieve the font for

Return Value

the PangoFontDescription for the given state. This object is owned by GTK+ and should not be freed. [transfer none] Since 3.0

Meta