Jonathan Frederic
dedbc3b0e1
Changed children list to CTuple.
...
Also removed some unused refences in the widget code
and added support for tuples in the pack/unpack code.
12 years ago
Jonathan Frederic
75b148d40b
Renamed widgets...
...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
12 years ago
MinRK
36db60eacb
review pass on Python-side of widgets
...
- remove variable signature complexity
- use a few more traitlets as appropriate
12 years ago
Jonathan Frederic
288b8a0ced
s/view_name/_view_name
12 years ago
Jonathan Frederic
e323f64e6d
Create base widget classes
12 years ago
Jonathan Frederic
077bd5c6ca
Added new CallbackDispatcher class
12 years ago
Jonathan Frederic
bfdebf9632
More PEP8 changes
12 years ago
Jonathan Frederic
ff39989b8b
s/Int/CInt s/Float/CFloat
12 years ago
Jonathan Frederic
c085593e2a
More fixes
12 years ago
Jonathan Frederic
047a90538f
1-to-1 widget / view mapping
12 years ago
Jonathan Frederic
c1c7bb7563
Everyone uses one model
12 years ago
Jonathan Frederic
b16171ac76
Added sync=True to all view name attrs
12 years ago
Jonathan Frederic
b4a83b6044
sync=True isntead of a keys list
12 years ago
Jonathan Frederic
39aaf7bf88
s/default_view_name/view_name
12 years ago
Jonathan Frederic
21a14e11a4
s/Widget/DOMWidget s/BaseWidget/Widget
12 years ago
Jason Grout
a0b2cc40b8
Make widget keys have more explicit inheritance
12 years ago
Jonathan Frederic
4333c84907
Fix scroll_to_bottom
12 years ago
Jonathan Frederic
6aac36ee13
Remove on_click, doesn't apply
12 years ago
Jonathan Frederic
4f663d896d
Made scroll to bottom use msgs
...
allow multiple msg handlers
added send to view to automatically hookup callbacks
changed send signature to optionally accept a cell to connect callbacks
12 years ago
Jonathan Frederic
cc96589afc
Changed on_submit to use custom messages instead of stateful communcation
12 years ago
Jonathan Frederic
d795654251
Add scroll_to_bottom method for TextAreaView (StringWidget).
12 years ago
Jonathan Frederic
0d7428a903
Added TextBox submit event
12 years ago
Jonathan Frederic
e9fe606ba6
More relative imports, Travis w/ Py3.3
12 years ago
Jonathan Frederic
f2d77f3b78
Added labels to basic widgets
12 years ago
Jonathan Frederic
9b891d4018
s/TextareaView/TextAreaView & s/TextboxView/TextBoxView
12 years ago
Jonathan Frederic
f422bb9be2
Cleaned up Python widget code.
12 years ago
Jonathan Frederic
76a7a25c12
Fixed stale reference to base.py -> widget.py
12 years ago
Jonathan Frederic
65a6000919
Renamed widget python classes to avoid name stomping
12 years ago