TreeView.setShowExpanders

void setShowExpanders(bool enabled)

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 [gtk.tree_view.TreeView.setLevelIndentation]. This does not have any visible effects for lists.

Parameters

enabledtrue to enable expander drawing, false otherwise.

Deprecated

Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead