##// END OF EJS Templates
widget fix?
Jason Goad -
Show More
@@ -26,6 +26,10 class _Int(DOMWidget):
26 disabled = Bool(False, help="Enable or disable user changes", sync=True)
26 disabled = Bool(False, help="Enable or disable user changes", sync=True)
27 description = Unicode(help="Description of the value this widget represents", sync=True)
27 description = Unicode(help="Description of the value this widget represents", sync=True)
28
28
29 def __init__(self, value=None, **kwargs):
30 if value is not None:
31 kwargs['value'] = value
32 super(_Int, self).__init__(**kwargs)
29
33
30 class _BoundedInt(_Int):
34 class _BoundedInt(_Int):
31 """Base class used to create widgets that represent a int that is bounded
35 """Base class used to create widgets that represent a int that is bounded
General Comments 0
You need to be logged in to leave comments. Login now