Method

GtkFontDialogchoose_family_finish

Declaration [src]

PangoFontFamily*
gtk_font_dialog_choose_family_finish (
  GtkFontDialog* self,
  GAsyncResult* result,
  GError** error
)

Description [src]

Finishes the gtk_font_dialog_choose_family() call and returns the resulting family.

This function never returns an error. If the operation is not finished successfully, the value passed as initial_value to gtk_font_dialog_choose_family() is returned.

Available since:4.10

Parameters

result GAsyncResult*
 

A GAsyncResult

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

Return value

Returns: PangoFontFamily*
 

The selected family.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.