[pygtk] Re: extending gtk.ListStore
Jeffrey Barish
jeff_barish at earthlink.net
Thu Jul 3 21:47:03 WST 2008
Felipe Reyes wrote:
> I been looking for a way to extend the gtk.ListStore to avoid the data
> replication, with this I mean that for example I have Photo class with
> uri property (where is located the photo), and other things, one way is
> construct a classic gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_INT)
> and iterate over my list of Photo instances and read the uri and size
> and append to the ListStore, but If something changes inside some of the
> instances I will have to update the ListStore, so I don't want to do
> this.
See the FAQ: http://faq.pygtk.org/index.py?req=show&file=faq13.029.htp
--
Jeffrey Barish
More information about the pygtk
mailing list