Shadi Azoum wrote: > 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.
Use a TreeStore instead of a ListStore. -- Jeffrey Barish _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/