Hello everyone,
I use pygtk-1.99.8, and I've been playing with a ListStore object just
like in the example pygtk-demo/demos/list_store.py.
Now I want to get all the items in my ListStore object :
iter = model.get_iter_root()
valid = ??
while valid:
# do something here with iter
valid = model.iter_next(iter)
The problem is that the first iter might or not be valid (if the list is
empty). I looked at the doc of Gtk2.0, but in C, get_iter_root returns a
boolean, not the TreeIter. Moreover in pygtk source code, the boolean
return value of get_iter_root is just drop...
How can I do this with pygtk ?
Thanks, and sorry if it's a trivial question.
Nicolas
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/