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.
item" data-src="/img/98e5c8f0ee0a25549c502e46a3f165c9.png" class=" lazyloaded" src="https://fooobar.com//img/98e5c8f0ee0a25549c502e46a3f165c9.png">
+3
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
source to share