##// END OF EJS Templates
Use require.js to load widget manager.
Use require.js to load widget manager.

File last commit:

r14250:e9b4d108
r14253:75ef14ea
Show More
string.py
13 lines | 398 B | text/x-python | PythonLexer
import os
from base import Widget
from IPython.utils.traitlets import Unicode, Bool
from IPython.utils.javascript import display_all_js
class StringWidget(Widget):
target_name = Unicode('StringWidgetModel')
default_view_name = Unicode('TextboxView')
_keys = ['value', 'row_count', 'disabled']
value = Unicode()
disabled = Bool(False) # Enable or disable user changes