Method

GtkFontChooserget_font_features

Declaration [src]

char*
gtk_font_chooser_get_font_features (
  GtkFontChooser* fontchooser
)

Description [src]

Gets the currently-selected font features.

The format of the returned string is compatible with the CSS font-feature-settings property. It can be passed to pango_attr_font_features_new().

Deprecated since:4.10

Use GtkFontDialog and GtkFontDialogButton instead.

Return value

Returns: char*
 

The currently selected font features.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.