Jonathan Frederic
4e19dd7933
s/_handle_widget_constructed/_call_widget_constructed
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
Jonathan Frederic
696a6e4c28
add/remove_class now can accept a list of classes
12 years ago
Jonathan Frederic
2600913067
Removed ViewWidget
12 years ago
Jason Grout
a0b2cc40b8
Make widget keys have more explicit inheritance
12 years ago
Jason Grout
ce98452180
Get rid of keys magic; make the keys very explicit
12 years ago
Jason Grout
f0a4b9ea30
Make the widget keys property traverse the superclasses and accumulate the _keys attributes.
...
This caches the result, overwriting the property.
12 years ago
Jonathan Frederic
7c3b21d239
Fixed typo in model_id property
12 years ago
Jonathan Frederic
57f3057ca5
Moved view widget into widget.py
12 years ago
Jonathan Frederic
46e88dc205
Fixed indent of line 450
...
... caused Travis to get mad
12 years ago
Jonathan Frederic
a2235efbea
Further indentation cleanup
12 years ago
Jonathan Frederic
35a536f3b8
Re-decoupled comm_id from widget models
12 years ago
Jonathan Frederic
1b4e2ad6fe
Added ViewWidget
12 years ago
Jason Grout
b41f77e635
Fix the python side of the add/remove class functions to send custom messages
12 years ago
Jason Grout
747b219771
Move some Widget class references to BaseWidget
12 years ago
Jason Grout
07ffef8392
Make sure containers transmit the children; take care of case where children is possibly empty.
12 years ago
Jason Grout
18beaff887
Remove unused code and debugging statements
12 years ago
Jason Grout
72f7d2fe09
Remove the automatic _children_attr and _children_lists_attr.
...
When serializing, any Widget object is encoded as its comm_id. The view should know how to deal with the attribute, and should know that the attribute is a comm_id.
12 years ago
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
12 years ago
Jason Grout
518cb4c647
Separate the display from the models on the python side, creating a BaseWidget class.
...
Conflicts:
IPython/html/widgets/widget.py
12 years ago
Jonathan Frederic
2df05bc5b8
Display handler now supports full kwargs
12 years ago
Jonathan Frederic
996d133710
Remove redundent _handle_close method
12 years ago
Jonathan Frederic
857ae831fb
Decoupled Python Widget from Comm
...
Fixed conflicts:
IPython/html/widgets/widget.py
12 years ago
Jonathan Frederic
f2fefe20ff
Added event for widget construction
12 years ago
Jonathan Frederic
ea27ae599b
Added parent parameter to on_display callback
12 years ago
Jonathan Frederic
1b02e8f607
Add ImageWidget
12 years ago
Jonathan Frederic
8e1c52382c
Added `method` property to messages from the front-end
12 years ago
Jonathan Frederic
0f34affc35
Dont send add and remove class calls if no comm exists
12 years ago
Jonathan Frederic
4e1e091648
Added ModalView
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
10002f5a81
Changed button to use custom messages instead of state to communicate events.
12 years ago
Jonathan Frederic
c299022cc7
Changed add_class and remove_class to use messages instead of stateful communication
12 years ago
Jonathan Frederic
d795654251
Add scroll_to_bottom method for TextAreaView (StringWidget).
12 years ago
Jonathan Frederic
9019b639d1
Fixed a bug that didn't allow callbacks to set a property
...
on the widget that triggered the callback.
12 years ago
Jonathan Frederic
0d7428a903
Added TextBox submit event
12 years ago
Jonathan Frederic
c0ff518107
Added support for custom widget msgs
12 years ago
Jonathan Frederic
742ad511f6
Added check on widget close to make sure comm isn't already none.
12 years ago
Jonathan Frederic
1f39592bb1
Added missing types import
12 years ago
Jonathan Frederic
8502b2c182
Remove init_widget_js, use require.js for everything
...
Updated examples
Fixed bug with message throttling
12 years ago
Jonathan Frederic
08b1d08fb6
Fix: added inspect import to widget.py
12 years ago
Jonathan Frederic
3390f64dc2
Added flex properties to container.
...
Also replaced underscores in flex align properties with dashes.
12 years ago
Jonathan Frederic
2ba2d42e84
Added flexible box model align properties.
12 years ago
Jonathan Frederic
a67f2ec472
Fixed doc string comments, removed extra space
12 years ago
Jonathan Frederic
8279db0eb0
Fixed widget button onclick register so it only will ever register a callback once.
12 years ago
Jonathan Frederic
35fc3af84f
Added on_display callback
12 years ago
Jonathan Frederic
12b02b3e49
Use baseProjectUrl for widget import path
12 years ago