[pygtk] CellRendererToggle question

skip at pobox.com skip at pobox.com
Wed Sep 24 00:52:17 WST 2008


If I have a gtk.CellRendererToggle object:

    cell1 = gtk.CellRendererToggle()
    cell1.set_radio(True)
    col1 = gtk.TreeViewColumn('Enabled', cell1)
    col1.set_attributes(cell1, active=1)

How do I group a set of them together in the same radio group?  I don't see
any attributes on CellRendererToggles which allow me to do that.

Thanks,

-- 
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/


More information about the pygtk mailing list