Method

GtkFileChooserget_preview_file

since: 2.14

Declaration [src]

GFile*
gtk_file_chooser_get_preview_file (
  GtkFileChooser* chooser
)

Description [src]

Gets the GFile that should be previewed in a custom preview Internal function, see gtk_file_chooser_get_preview_uri().

Available since: 2.14

Return value

Type: GFile

The GFile for the file to preview, or NULL if no file is selected. Free with g_object_unref().

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