You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monkeyking/IPython/html/widgets/string/widget.py

14 lines
402 B

import os
from ..widget 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