Jonathan Frederic
c085593e2a
More fixes
12 years ago
Jonathan Frederic
d694666e66
A lot of bug fixes...
...
Related to 1-to-1 changes
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
cfe8a07337
Added sync= attr to DOMWidget
12 years ago
Jonathan Frederic
b4a83b6044
sync=True isntead of a keys list
12 years ago
Jonathan Frederic
00650fd64a
Dev meeting Jan 2014, widget review day 2
12 years ago
Jonathan Frederic
d3ffd25107
Dev meeting widget review day 1
12 years ago
Paul Ivanov
897d51a567
fix typos
12 years ago
Paul Ivanov
95e99c0c61
remove unused imports
12 years ago
Jonathan Frederic
d103c682c5
Many checks off the todo list, test fixes
12 years ago
Jonathan Frederic
0f715170b3
Add a comment that explains the notion of the default element
...
to be styled in set_css's' doc string.
12 years ago
Jonathan Frederic
be268dcf98
Implement a context manager as a property locking mechanism in Widget.
12 years ago
Jonathan Frederic
70c6a295d0
Finished renaming Multicontainer to SelectionContainer
12 years ago
Jonathan Frederic
a528610e07
renamed: ../static/notebook/js/widgets/widget_multicontainer.js -> ../static/notebook/js/widgets/widget_selectioncontainer.js
...
renamed: widget_multicontainer.py -> widget_selectioncontainer.py
12 years ago
Jonathan Frederic
c62b496b0e
s/image_format/format
12 years ago
Jonathan Frederic
261e92de74
re-order handle custom msg and handle recieve state
12 years ago
Jonathan Frederic
15dabce113
send_state only once for dict signature of set_css
12 years ago
Jonathan Frederic
6c11760a89
Fixed comments for optional kwargs so they are redundant.
12 years ago
Jonathan Frederic
670f4881ec
remove 3rd callback type from on_displayed
12 years ago
Jonathan Frederic
7e6c8e4f1d
Remove view_name from display
12 years ago
Jonathan Frederic
463bcf85ee
Fixed _send so it can open a comm if needed.
...
It no longer returns anything.
12 years ago
Jonathan Frederic
85b5adff58
Remove first three lines of repr widgets
12 years ago
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