Method

GtkFontChooserget_font_family

since: 3.2

Declaration [src]

PangoFontFamily*
gtk_font_chooser_get_font_family (
  GtkFontChooser* fontchooser
)

Description [src]

Gets the PangoFontFamily representing the selected font family. Font families are a collection of font faces.

If the selected font is not installed, returns NULL.

Available since: 3.2

Return value

Type: PangoFontFamily

A PangoFontFamily representing the selected font family, 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.