##// END OF EJS Templates
Add state packet delta compression.
Add state packet delta compression.

File last commit:

r14267:bcc71453
r14273:ae636830
Show More
widget_selection.py
11 lines | 395 B | text/x-python | PythonLexer
Jonathan Frederic
Updated imports to reflect class move
r14250 from base import Widget
Jonathan Frederic
Add selection widget
r14242 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