FileChooser.setPreviewWidgetActive

void setPreviewWidgetActive(bool active)

Sets whether the preview widget set by [gtk.file_chooser.FileChooser.setPreviewWidget] 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.file_chooser.FileChooser.setPreviewWidget] for more details.

Parameters

activewhether to display the user-specified preview widget