How to expand all items in a GtkTreeView on startup
Can anyone tell me how to set the tree attribute so that all tree elements are displayed by default?
The first image shows what I am getting, while the second image shows what I would like to get automatically, that is, to expand GtkTreeView
without clicking the expander.
+3
Ys wang
source
to share
1 answer
You have not specified a language. In C, you have to call gtk_tree_view_expand_all () . In Python, you have to callmy_tree.expand_all()
+4
gpoo
source
to share