##// END OF EJS Templates
Added toggle button view
Added toggle button view

File last commit:

r14260:3ca03407
r14262:524f98d2
Show More
string.py
10 lines | 328 B | text/x-python | PythonLexer
Jonathan Frederic
Updated imports to reflect class move
r14250 from base import Widget
Jonathan Frederic
Added system that allows js to be required by widgets.
r14256 from IPython.utils.traitlets import Unicode, Bool, List
Jonathan Frederic
Add string widget
r14243
class StringWidget(Widget):
target_name = Unicode('StringWidgetModel')
default_view_name = Unicode('TextboxView')
Jonathan Frederic
Cleaned up python widget classes
r14260 _keys = ['value', 'disabled']
Jonathan Frederic
Add string widget
r14243
value = Unicode()
disabled = Bool(False) # Enable or disable user changes