[pygtk] A Multilevel Liststore

Shadi Azoum shadi.azoum at gmail.com
Sun Jul 6 15:54:40 WST 2008


Hi,

I am trying to make a hierarchal structure using the PyGTK ListStore.  
What would the code look like for a multilevel structure such as the  
one below:

Parent 1
    Child 1.1
    Child 1.2
    Parent 1.3
       Child 1.3.1
       Child 1.3.2
    Child 1.4
Parent 2
    Child 1
    Child 2
...

I know the code if it was just one parent with multiple children, but  
not when those children are the parents of others.

Any help would be greatly appreciated.



More information about the pygtk mailing list