PDA

View Full Version : [C] GTKTreeModel



CynicRus
April 5th, 2012, 06:49 AM
Hello! I work with a file with tree structure, and I need to visualize it to work with him. For these purposes, I use a GtkTreeView. But I have a problem: GTKTreeModel - must have a certain structure. In my case - it is unknown what type of node, we read: Is the root node, or a subsite, or at all - one of the final values of the branch (i read windows registry). Actually - I have difficulty with drawing up a tree model, because - it is known that the root node can be one, but the sub-nodes - can be very hard to branch. Actually - the question of how - to create a similar tree model using GTK. Thanks in advance for your help.