Re: [pygtk] list like behaviour for GtkListStore

2002-07-14 Thread Christian Reis
On Sun, Jul 14, 2002 at 10:51:42AM +0800, James Henstridge wrote: Christian Reis wrote: Will append() take arguments? I found this a bit odd in the API. I have been considering it. It is probably a good idea, as it gives better compatibility with python lists. As it is, append() adds

Re: [pygtk] list like behaviour for GtkListStore

2002-07-13 Thread Christian Reis
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()

Re: [pygtk] list like behaviour for GtkListStore

2002-07-13 Thread James Henstridge
Christian Reis wrote: 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