Connect checkbox on toggled event

This commit is contained in:
C?dric Krier 2008-03-17 11:54:38 +01:00
parent 9e61bbf3bd
commit 782c6084d5

View file

@ -8,6 +8,7 @@ class CheckBox(WidgetInterface):
self.widget = gtk.CheckButton()
self.widget.connect('focus-in-event', lambda x, y: self._focus_in())
self.widget.connect('focus-out-event', lambda x, y: self._focus_out())
self.widget.connect_after('toggled', self.sig_activate)
def _readonly_set(self, value):
super(CheckBox, self)._readonly_set(value)