Re: GtkListStore->insert()

From: Date: Thu, 13 Oct 2005 05:26:26 +0000
Subject: Re: GtkListStore->insert()
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1808@lists.php.net to get a copy of this message
I ended up taking your patch and expanding it. Should be in CVS now, let me know if it works for you. It actually does a little more than GtkListStore::insert(position, array items = null) If you pass items parameter, it will insert a new row and fill it out with the values from the array. This is more efficient than calling simple insert() and then set() due to this note: http://developer.gnome.org/doc/API/2.0/gtk/GtkListStore.html#gtk-list-store-insert-with-values -Andrei On Oct 12, 2005, at 9:54 PM, Andrei Zmievski wrote:
Scott, Good try, but it needs some more work. You may want to take a look at the PyGTK implementation of the same in gtktreeview.override file _wrap_gtk_list_store_insert(PyGObject *self, PyObject *args, PyObject *kwargs) -Andrei


« previous php.gtk.dev (#1808) next »