[pygtk] Let's split it up...
sandro at e-den.it
Tue Jul 1 22:09:03 WST 2008
Ok, I try to split it into very little bits...
I want a CheckButton that doesn't react to "click".
I thought to connect a handler to the signal "clicked" that just "return
True" but it does not work. What's wrong?
w = gtk.Window()
c1 = gtk.CheckButton('toggle and clecked -> True')
c1.connect('toggled', lambda b: True)
c1.connect('clicked', lambda b: True)
More information about the pygtk