On Tue, Dec 30, 2003 at 10:14:19PM +0100, Daniel Kirkegaard Mouritsen wrote:
> 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)

You need a gobject.TYPE_BOOLEAN for the toggle buttons unless you are using
TreeViewColumn.set_cell_data_func().

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

What does your callback look like?

Dave Cook
_______________________________________________
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