Hey everybody,

I'm having problems with the gtk.CellRendererToggle() renderer, I have a
TreeStore with three column defined like this:

tree_store = gtk.TreeStore(gobject.GObject, gobject.TYPE_STRING,
gobject.TYPE_STRING)

Ive connected the "toggled" signal to a function, but when i
activate/deactivate the toggle it applies the changes to all the
toggles.

Is it not possible to only catch the object being clicked on?

Even better, is it possible to use tree_store.set_value(iterator, index,
checkbox-object) to fill a column with actual checkbox objects and
connect them one at a time instead?

I tried doing it, but i couldn't make it work. I haven't been able to
find a gtk.CellRenderer function for displaying widgets.

-Daniel

PS. Ive only been able to dig up a reference on these objects, if any of
you have some links to actual documentation on how the TreeView widget
works it would be very appreciated :)

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to