Gtk.FileChooser.prototype.get_preview_file
function get_preview_file():Gio.File { // Gjs wrapper for gtk_file_chooser_get_preview_file() }
Gets the Gio.File that should be previewed in a custom preview Internal function, see Gtk.get_preview_uri.
Since 2.14
- Returns
the Gio.File for the file to preview, or null if no file is selected. Free with GObject.unref.