Package: gtk

Accessor gtk-file-chooser-use-preview-label

Lambda List

gtk-file-chooser-use-preview-label (object)

Syntax

(gtk-file-chooser-use-preview-label object) => use-label
(setf (gtk-file-chooser-use-preview-label object) use-label)

Arguments

object -- a gtk-file-chooser widget
use-label -- a boolean whether to display a stock label with the name of the previewed file

Details

Accessor of the use-preview-label slot of the gtk-file-chooser interface.

The slot access function gtk-file-chooser-use-preview-label gets whether a stock label should be drawn with the name of the previewed file. The slot access function (setf gtk-file-chooser-use-preview-label) sets whether the file chooser should display a stock label. The default is true.

Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. See also the function gtk-file-chooser-preview-widget.
 

See also

2021-2-5