##// END OF EJS Templates
Fixed stale reference to base.py -> widget.py
Fixed stale reference to base.py -> widget.py

File last commit:

r14274:7f9a6041
r14274:7f9a6041
Show More
widget_string.py
10 lines | 330 B | text/x-python | PythonLexer
from widget import Widget
from IPython.utils.traitlets import Unicode, Bool, List
class StringWidget(Widget):
target_name = Unicode('StringWidgetModel')
default_view_name = Unicode('TextboxView')
_keys = ['value', 'disabled']
value = Unicode()
disabled = Bool(False) # Enable or disable user changes