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 gtk:tree-view-show-expanders function returns whether or not expanders are drawn in the tree view. The (setf gtk:tree-view-show-expanders) function 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 gtk:tree-view-level-indentation function. This does not have any visible effects for lists.

Warning

The gtk:tree-view implementation is deprecated since 4.10. Please do not use it in newly written code.
 

See also

2024-3-9