Method

GtkFontChooserget_font_face

since: 3.2

Declaration [src]

PangoFontFace*
gtk_font_chooser_get_font_face (
  GtkFontChooser* fontchooser
)

Description [src]

Gets the PangoFontFace representing the selected font group details (i.e. family, slant, weight, width, etc).

If the selected font is not installed, returns NULL.

Available since: 3.2

Return value

Type: PangoFontFace

A PangoFontFace representing the selected font group details, or NULL. The returned object is owned by fontchooser and must not be modified or freed.

The returned data is owned by the instance.
The return value can be NULL.