FileChooser.getPreviewFilename

string getPreviewFilename()

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

Returns

the filename to preview, or null if

no file is selected, or if the selected file cannot be represented as a local filename. Free with [glib.global.gfree]