TreeView.setShowExpanders

Sets whether to draw and enable expanders and indent child rows in tree_view. When disabled there will be no expanders visible in trees 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 TreeView.setLevelIndentation. This does not have any visible effects for lists.

class TreeView
void
setShowExpanders
(
bool enabled
)

Parameters

enabled bool

TRUE to enable expander drawing, FALSE otherwise.

Meta

Since

2.12