El jue, 03-07-2008 a las 07:47 -0600, Jeffrey Barish escribió: > 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 sweeeet :) thanks jeff, I saw the faq looking for liststore tips, but I missed that one, that will save my life
seeya. -- Felipe Reyes Astorga counter.li.org #316380
signature.asc
Description: Esta parte del mensaje está firmada digitalmente
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/