FileChooser.getPreviewUri

string getPreviewUri()

Gets the URI that should be previewed in a custom preview widget. See [gtk.file_chooser.FileChooser.setPreviewWidget].

Returns

the URI for the file to preview,

or null if no file is selected. Free with [glib.global.gfree].