gtk_tree_view



Hello.

I'd like to create a tree_view where the contents is created on demand
(dir browser). In terms: The childs of a node should only be created
when the node is expanded. Its known whether the node will have childs
before it is expanded. Now two questions:

1. Do i have to add a dummy child node if i want the parent node have
   a expander to click on?

2. If yes, how do i insert a dummy node in the tree_model and prevent
   the tree_view to expand it immediately?

Markus.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]