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

File last commit:

r14274:7f9a6041
r14282:7dac7fb8
Show More
widget_selection.py
11 lines | 397 B | text/x-python | PythonLexer
from widget import Widget
from IPython.utils.traitlets import Unicode, List, Bool
class SelectionWidget(Widget):
target_name = Unicode('SelectionWidgetModel')
default_view_name = Unicode('DropdownView')
_keys = ['value', 'values', 'disabled']
value = Unicode()
values = List() # List of values the user can select
disabled = Bool(False) # Enable or disable user changes