##// END OF EJS Templates
LOTS OF WIDGET CHANGES...
LOTS OF WIDGET CHANGES Moved model-like code out of manager. Added parent/child API. Throttling now occurs on a model by model level. View/cell association is fixed for the most part, but there is still one assumption being made in handle_com_msg.

File last commit:

r14274:7f9a6041
r14278:f58ca8b9
Show More
widget_int.py
10 lines | 319 B | text/x-python | PythonLexer
from widget import Widget
from IPython.utils.traitlets import Unicode, Int, Bool, List
class IntWidget(Widget):
target_name = Unicode('IntWidgetModel')
default_view_name = Unicode('IntTextView')
_keys = ['value', 'disabled']
value = Int(0)
disabled = Bool(False) # Enable or disable user changes