Method

GtkFileChooserset_preview_widget_active

since: 2.4

Declaration [src]

void
gtk_file_chooser_set_preview_widget_active (
  GtkFileChooser* chooser,
  gboolean active
)

Description [src]

Sets whether the preview widget set by gtk_file_chooser_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_file_chooser_set_preview_widget() for more details.

Available since: 2.4

Parameters

active

Type: gboolean

Whether to display the user-specified preview widget.