mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
Connect checkbox on toggled event
This commit is contained in:
parent
9e61bbf3bd
commit
782c6084d5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue