##// END OF EJS Templates
Added msg_id - cell mapping.
Added msg_id - cell mapping.

File last commit:

r14274:7f9a6041
r14282:7dac7fb8
Show More
widget_float.py
10 lines | 335 B | text/x-python | PythonLexer
from widget import Widget
from IPython.utils.traitlets import Unicode, Float, Bool, List
class FloatWidget(Widget):
target_name = Unicode('FloatWidgetModel')
default_view_name = Unicode('FloatTextView')
_keys = ['value', 'disabled']
value = Float(0.0)
disabled = Bool(False) # Enable or disable user changes