Gtk.FileChooser.prototype.get_preview_uri

function get_preview_uri():String {
    // Gjs wrapper for gtk_file_chooser_get_preview_uri()
}

Gets the URI that should be previewed in a custom preview widget. See Gtk.set_preview_widget.

Since 2.4

Returns

the URI for the file to preview, or null if no file is selected. Free with GLib.free.