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?
sandro
w = gtk.Window()
c1 = gtk.CheckButton('toggle and clecked -> True')
w.add(c1)
c1.connect('toggled', lambda b: True)
c1.connect('clicked', lambda b: True)
w.show_all()
gtk.main()
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/