On Thu, Mar 06, 2003 at 11:40:03PM -0700, Jay Graves wrote:

> self.col2.connect('toggled',self.toggle)

You want to connect to the renderer, not the column:

cell = gtk.CellRendererToggle()
cell.connect("toggled", self.toggle)
self.col2 = gtk.TreeViewColumn("allow",gtk.CellRendererToggle(),active=2)

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