void set_preview_widget_active(active);

Sets whether the preview widget set by set_preview_widget() should be shown for the current filename. When it 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 set_preview_widget() for more details.