set_show_expanders


Description:

[ Version ( since = "2.12" ) ]
public void set_show_expanders (bool enabled)

Sets whether to draw and enable expanders and indent child rows in this.

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 set_level_indentation. This does not have any visible effects for lists.

Parameters:

this

a TreeView

enabled

true to enable expander drawing, false otherwise.




2022 vala-language.org