On Sun, 2003-12-21 at 17:25, Gustavo J. A. M. Carneiro wrote:
> > Currently I have a column of type gtk.gobject.TYPE_INT, which stores an
> > integer pointer to a separate dict holding the dicts containing data for
> > the rows.
>
> (integer pointer in python?!)
Well, not really a pointer, per se. I just had a dict like { 1 : {}, 2 :
{} ... } which held all the data, and then stored the key in the
treestore as an int.
> I think you can create a column of type 'type' or
> 'gobject.TYPE_PYOBJECT', in order to directly store arbitrary python
> objects.
Perfect, just what I needed. Thanks alot!
--
Erik Grinaker
http://erikg.wired-networks.net
This signature has been rot13-encrypted twice, reading it is illegal
under the terms of the DMCA.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/