On Sat, Jul 13, 2002 at 12:36:35PM +0800, James Henstridge wrote: > I added a quick modification to the GtkListStore wrapper so the > following is now possible: > > >>> import gtk > >>> store = gtk.ListStore(int, int, str, str) > >>> store.append() > <GtkTreeIter at 0x81a8b80>
Will append() take arguments? I found this a bit odd in the API. > * support for this to GtkTreeStore (so you could do > treestore[0,3][0] = 42) [0,3] - is this like Numeric uses? > * support for assignments (eg. store[0] = (1,2,'foo','bar')) Yep, looks cool. I don't know iterators very well, not enough to comment. Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/