Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
11 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
11 years ago
Matthias Bussonnier
684d739d92
Merge pull request #6520 from minrk/comm-default
...
avoid copious warnings in interact tests
11 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
11 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
11 years ago
Brian E. Granger
1e8b4ee586
Merge pull request #6051 from chronitis/interact-widget-on-demand
...
Interact on_demand option
11 years ago
MinRK
ec4d3597c7
avoid copious warnings in interact tests
...
comm was mocked out, but in a way that makes traitlets complain
12 years ago
Gordon Ball
48e1a0b2bc
s/choose/manual/g
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Jonathan Frederic
78db5dc24e
Merge pull request #6377 from jasongrout/fix-widget-prefix
...
Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
12 years ago
Jason Grout
2acee4a269
Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
12 years ago
Jonathan Frederic
fdcf263965
Partial implementation of styles
12 years ago
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
12 years ago
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
12 years ago
Gordon Ball
859e9f5261
Change from on_demand kwarg to interact_choose function
12 years ago
Gordon Ball
8296f24904
Merge master
12 years ago
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
12 years ago
Jonathan Frederic
1b29be13c6
Merge pull request #6332 from jasongrout/widget-property-lock
...
Widget property lock should compare json states, not python states
12 years ago
Gordon Ball
9383822d7a
Clean up validation in __init__
12 years ago
Gordon Ball
a096d01310
Test case for setting only lower or upper, no sensible default so should be an error
12 years ago
Gordon Ball
a12b1a50a9
Change `range` trait to `_range`
12 years ago
Gordon Ball
b8c0afbb55
Merge master
12 years ago
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
12 years ago
Jonathan Frederic
be3ba35736
Fix typo in deprecated class name.
12 years ago
Gordon Ball
8838762b30
Remove a rogue print statement
12 years ago
Gordon Ball
08895738f2
Merge master
12 years ago
Gordon Ball
05f07f1f71
Add a number of extra tests for the range widgets
12 years ago
Gordon Ball
2be045fe25
Support both value tuple and upper, lower traits for both int and float widgets
12 years ago
Jonathan Frederic
8877d32c4e
Merge pull request #6194 from SylvainCorlay/immediate-widget-comm
...
Allow model id to be set externally on creation of the widget.
12 years ago
Jason Grout
0e5ceca059
Make the widget property_lock store the JSON state, not the original object
...
Comparison between arbitrary python objects can get crazy, whereas we really
only care about if the JSON state we are syncing is different. So with this change,
we store and check against the JSON state.
12 years ago
Jonathan Frederic
690059f8f8
Merge pull request #6296 from jasongrout/sync-hold
...
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
12 years ago
Jonathan Frederic
2db702fa57
Filenames s/container/box
12 years ago
Jonathan Frederic
d985ee86c6
s/Container/Box
12 years ago
Jason Grout
5cd46788f9
Before syncing a widget's state, check first for the property lock, then for the widget state lock
12 years ago
Jason Grout
af26d9cc24
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
...
Sometimes for consistency or efficiency purposes, it makes sense to update
a group of properties all at once. This context manager makes this possible.
We also fix a bug where send_state was not passing the key on to get_state.
12 years ago
Sylvain Corlay
f9fa4ada06
allowing widet id to be set externally
12 years ago
Jason Grout
8513f673e3
Make the widget comm attribute more straigtforward
...
Instead of automagically instantiating a comm when it is accessed, require a call to open(). This makes the comm attribute much less magical, and hopefully more understandable.
12 years ago
Jason Grout
16c366d1b5
Automatically open a comm on creation of widgets
...
This will immediately create a model on the javascript side when a widget is created. This means that, for example, a widget that only interacts with its model can work without "displaying" it.
12 years ago
Jonathan Frederic
36721c73c6
Added some doc strings on the widgets.
...
Also address the comments Matthias left me.
12 years ago
Jonathan Frederic
dbb88f95cd
Make HBox and VBox helper functions
12 years ago
Sylvain Corlay
c9ed512d54
adding hbox and vbox
...
Conflicts:
IPython/html/static/widgets/js/widget_container.js
IPython/html/widgets/widget_container.py
12 years ago
Jonathan Frederic
170b13102e
Fix interact tests for rename
12 years ago
Jonathan Frederic
ba3033971e
Renamed *Widget to *,
...
depracted old names.
12 years ago
Jonathan Frederic
37f00f73d7
Added baseline and stretch
12 years ago
Jonathan Frederic
6faf86ee77
Embrace flexible box model
12 years ago
Gordon Ball
8c5218b581
Default to 25-75% of min-max if no value is set instead of 0-1
12 years ago