Show More
@@ -33,7 +33,10 b' class ButtonWidget(Widget):' | |||||
33 | description = Unicode('', help="Description of the button (label).") |
|
33 | description = Unicode('', help="Description of the button (label).") | |
34 | disabled = Bool(False, help="Enable or disable user changes.") |
|
34 | disabled = Bool(False, help="Enable or disable user changes.") | |
35 |
|
35 | |||
36 | _click_handlers = [] |
|
36 | ||
|
37 | def __init__(self, **kwargs): | |||
|
38 | self._click_handlers = [] | |||
|
39 | super(ButtonWidget, self).__init__(**kwargs) | |||
37 |
|
40 | |||
38 |
|
41 | |||
39 | def on_click(self, callback, remove=False): |
|
42 | def on_click(self, callback, remove=False): |
General Comments 0
You need to be logged in to leave comments.
Login now