Package: gtk

Accessor gtk-tree-view-show-expanders

Lambda List

gtk-tree-view-show-expanders (object)

Syntax

(gtk-tree-view-show-expanders object) => enabled
(setf (gtk-tree-view-show-expanders object) enabled)

Arguments

object -- a gtk-tree-view widget
enabled -- True to enable expander drawing, false otherwise

Details

Accessor of the show-expanders slot of the gtk-tree-view class.

The slot access function gtk-tree-view-show-expanders returns whether or not expanders are drawn in the tree view. The slot access function (setf gtk-tree-view-show-expanders) sets whether to draw and enable expanders and indent child rows in the tree view. When disabled there will be no expanders visible in tree views and there will be no way to expand and collapse rows by default. Also note that hiding the expanders will disable the default indentation. You can set a custom indentation in this case using the function gtk-tree-view-level-indentation. This does not have any visible effects for lists.
 

See also

2021-2-25