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) => setting
(setf (gtk:file-chooser-use-preview-label object) setting)

Arguments

object -- a gtk:file-chooser widget
setting -- 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 gtk:file-chooser-use-preview-label function gets whether a stock label should be drawn with the name of the previewed file. The (setf gtk:file-chooser-use-preview-label) function 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 gtk:file-chooser-preview-widget function.
 

See also

2023-6-11