Method

GtkStyleContextget_font

deprecated: 3.8 since: 3.0

Declaration [src]

const PangoFontDescription*
gtk_style_context_get_font (
  GtkStyleContext* context,
  GtkStateFlags state
)

Description [src]

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

Available since: 3.0

Deprecated since: 3.8

Use gtk_style_context_get() for “font” or subproperties instead.

Parameters

state

Type: GtkStateFlags

State to retrieve the font for.

Return value

Type: PangoFontDescription

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

The returned data is owned by the instance.