Method

GtkFileDialogselect_folder_finish

Declaration [src]

GFile*
gtk_file_dialog_select_folder_finish (
  GtkFileDialog* self,
  GAsyncResult* result,
  GError** error
)

Description [src]

Finishes the gtk_file_dialog_select_folder() call and returns the resulting file.

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: GFile
 

The file that was selected. Otherwise, NULL is returned and error is set.

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