Gtk.FileChooser.prototype.set_preview_widget_active

function set_preview_widget_active(active:Boolean):void {
    // Gjs wrapper for gtk_file_chooser_set_preview_widget_active()
}

Sets whether the preview widget set by Gtk.FileChooser.prototype.set_preview_widget should be shown for the current filename. When active is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. See Gtk.FileChooser.prototype.set_preview_widget for more details.

Since 2.4

active

whether to display the user-specified preview widget