Method

GtkFontDialogchoose_font_finish

Declaration [src]

PangoFontDescription*
gtk_font_dialog_choose_font_finish (
  GtkFontDialog* self,
  GAsyncResult* result,
  GError** error
)

Description [src]

Finishes the gtk_font_dialog_choose_font() call and returns the resulting font description.

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: PangoFontDescription*
 

The selected font.

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