Connect checkbox on toggled event

This commit is contained in:
Cédric Krier committed 2008-03-17 11:54:38 +01:00
1 parent 9424e07371
commit 4fa9781788
1 file changed
+1
@@ -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)