Method

GtkFileChooserget_preview_uri

since: 2.4

Declaration [src]

char*
gtk_file_chooser_get_preview_uri (
  GtkFileChooser* chooser
)

Description [src]

Gets the URI that should be previewed in a custom preview widget. See gtk_file_chooser_set_preview_widget().

Available since: 2.4

Return value

Type: char*

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

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.