Method

GtkFontDialogchoose_font_and_features_finish

Declaration [src]

gboolean
gtk_font_dialog_choose_font_and_features_finish (
  GtkFontDialog* self,
  GAsyncResult* result,
  PangoFontDescription** font_desc,
  char** font_features,
  PangoLanguage** language,
  GError** error
)

Description [src]

Finishes the gtk_font_dialog_choose_font_and_features() call and returns the resulting font description and font features.

Available since:4.10

Parameters

result GAsyncResult*
 

A GAsyncResult

 The data is owned by the caller of the function.
font_desc PangoFontDescription**
 

Return location for font description.

 The argument will be set by the function.
 The data is owned by the caller of the function.
font_features char**
 

Return location for font features.

 The argument will be set by the function.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
language PangoLanguage**
 

Return location for the language.

 The argument will be set by the function.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if a font was selected. Otherwise FALSE is returned and error is set.