get_font


Description:

[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public unowned FontDescription get_font (StateFlags state)

Warning: get_font is deprecated since 3.8.

Returns the font description for a given state.

Note:

Use @get for "font" or subproperties instead.

The returned object is const and will remain valid until the changed signal happens.

Parameters:

this

a StyleContext

state

state to retrieve the font for

Returns:

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