Torsten Bittner
d5a7879a26
Add documentation for interactive function.
11 years ago
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
11 years ago
Torsten Bittner
080f926c8e
Add documentation for interact function.
11 years ago
Min RK
0f6685acf0
test that custom description doesn't change kwarg
11 years ago
Min RK
21a7f75ade
Don't use widget.description as kwarg key
...
in interact.
description can be set manually,
so it cannot be relied upon to store the kwarg key.
Add a `widget._kwarg` attribute instead.
11 years ago
Thomas Kluyver
9038e0d6a4
Add docstring for IntRangeSlider
...
Closes gh-5381
This was the last remaining widget class I could see without a docstring
11 years ago
Min RK
ec1adebc1e
allow interact(instancemethod)
...
objects that can't have `.widget` attribute assigned
are wrapped in a lambda
11 years ago
Jason Grout
0bdfdc03ca
python3 does not like adding lists and map results
...
Thanks to @takluyver for pointing this out
11 years ago
Jason Grout
18cfbc0d11
Generate fontweight enum values without an extraneous variable from a comprehension
...
In python 2, the comprehension will create a new class attribute, i. Using a map will not create the extra local variable.
11 years ago
Jonathan Frederic
3f2dc88154
Remove the popup widget
11 years ago
Thomas Kluyver
9c0fb7bf68
Use more conventional *args naming over *parg
11 years ago
Thomas Kluyver
cbb685b314
Fix copy-pasted super() call
11 years ago
Jason Goad
cda015340c
added value positional argument to applicable widgets
11 years ago
Jason Goad
7bcced9da0
widget fix?
11 years ago
Jason Grout
c73933fe90
Make the widget warning easier to catch by specifying the module.
11 years ago
Jason Grout
5c24d8dfb1
Change IPython widget warning to get rid of filenames and line numbers
...
We do this to not confuse the interactive user
11 years ago
Brian E. Granger
e61188a4c8
Merge pull request #7201 from jasongrout/widget-warning
...
Make the widget error message shorter and more understandable.
11 years ago
Jason Grout
e489718d5c
Make the widget error message shorter and more understandable.
11 years ago
Brian E. Granger
8ea37a4b2b
Merge pull request #7200 from jasongrout/widget-warning
...
Make the widget experimental error a real python warning
11 years ago
Jason Grout
c8d70e0603
Make the widget experimental error a real python warning
...
This means it can easily be turned off too.
11 years ago
Min RK
cadd5a14fe
Merge pull request #6747 from jdfreder/combofix
...
Make Selection widgets respect values order.
11 years ago
Jonathan Frederic
ab409d1966
Hide variables that shouldn't be exposed to the user
11 years ago
Jonathan Frederic
73637fb694
Merge pull request #7097 from jasongrout/widget-visibility
...
Expand the semantics of the widget visible attribute to allow for visibility: hidden
11 years ago
Jonathan Frederic
3ea8929b82
Merge pull request #6454 from jasongrout/links
...
Javascript link
11 years ago
Min RK
7d465c7e96
Merge pull request #7139 from jdfreder/widget-space-fix
...
Fix padding of widgets.
11 years ago
Jason Grout
8cf5972f57
Add the unlink method to javascript links to maintain compatibility with traitlet links
11 years ago
Jonathan Frederic
2cc041444a
Explicit 2.5px
11 years ago
Jonathan Frederic
cb12229480
Fix padding of widgets.
11 years ago
Jonathan Frederic
d466601dbb
Persistence API,
...
This is a combination of 10 commits.
Enable widget instanciation from front-end.
Address @minrk 's review comments.
Make API that allows users to persist widget state easily.
Added support for view persistence
Started adding support for model persistence.
Half way there!
Finished persistence API.
Move persistence code into the widget framework.
Fin.
Bug fixes
11 years ago
Jonathan Frederic
80bfe779f5
Add warning to widget namespace import.
11 years ago
Jason Grout
9ca509d915
Merge remote-tracking branch 'public-upstream/master' into links-rebase
...
Conflicts:
examples/Interactive Widgets/Widget Events.ipynb
11 years ago
Jason Grout
26bec1ad36
Add None as a widget visible value to allow for visiblity: hidden
...
Now, visible can have three values:
* True - show the widget
* False - hide the widget and collapse the empty space
* None - hide the widget and show the empty space
11 years ago
Jonathan Frederic
22168a538e
Typo fix
11 years ago
Jonathan Frederic
01a6929c0d
Fix faulty interact tests
11 years ago
Jonathan Frederic
592112f0fa
Don't magically convert values to a list of tuples.
11 years ago
Jonathan Frederic
c8ef47b03b
Fix readonly lock logic.
11 years ago
silviav12
a803717c5d
Removed the two empty lines of dosctring in widget_float.py.
11 years ago
silviav12
6b7399c8e6
Added changes to dosctring documentation in widget_float.py (previous docstring written by me).
...
Added docstring documentation in widget_bool.py.
11 years ago
Silvia
b41a9c9586
Add docstring documentation for widget_float
11 years ago
Thomas Kluyver
99e6d35808
Fix variable name
11 years ago
Thomas Kluyver
694e32c938
Import Tuple traitlet for Selection widget
11 years ago
Jonathan Frederic
79fa062310
Make selection widget respect order.
11 years ago
Jonathan Frederic
52a0314719
Something
11 years ago
Jonathan Frederic
2ef509e505
Add doc string to Output widget
11 years ago
Jonathan Frederic
a5779bcd0e
Output Widget
11 years ago
Sylvain Corlay
7ac82931ca
Tooltip on toggle button
11 years ago
Min RK
b5e7ce30ca
handle setting Widget.comm = None
...
which is done in `Widget.close`
fixes loads of warnings in widget test output, caused every time a widget is closed.
11 years ago
Sylvain Corlay
ed5e602950
jupyter -> IPython
11 years ago
Sylvain Corlay
374459e5e7
Adding custom keys for core jptr notebook
11 years ago
Sylvain Corlay
18e77a090a
registering core widgets
11 years ago
Sylvain Corlay
e5b347804a
widget registry
11 years ago
Jonathan Frederic
ba77877c18
Rebase fixes
11 years ago
Jonathan Frederic
db10ae8f2d
s/target_name/widget_class
11 years ago
Jonathan Frederic
cb2c76999c
Address some more review comments...
11 years ago
Jonathan Frederic
a68df8a8b1
Address @minrk 's review comments.
11 years ago
Jonathan Frederic
fbca0bfa3f
Rebase fixes.
11 years ago
Jonathan Frederic
2b5ebb9e8f
Make Python push initial state.
...
Also added initial state push callback.
11 years ago
Jonathan Frederic
e7ee9c12b3
Enable widget instanciation from front-end.
11 years ago
Thomas Kluyver
031530da42
Support specifying requirejs modules for widget models
11 years ago
Jonathan Frederic
79670e8afb
Merge pull request #6494 from takluyver/widget-comm-require
...
Allow widget views to be loaded from require modules
11 years ago
Jonathan Frederic
1172876191
Add version trait to Widget base,
...
From widget Trello: version numbers for widget models;
when reloaded, will give the widget a chance to do
something intelligent or fail (by default) if the
version number doesn't match.
11 years ago
Jonathan Frederic
6a304fc63c
Merge pull request #6540 from takluyver/comms-mgr-needs-no-shell
...
Make comm manager (mostly) independent of InteractiveShell
11 years ago
Min RK
60bfcf8c74
Merge pull request #6665 from jdfreder/travis_please_run_on_this
...
Separate widget model name from com target name.
11 years ago
Jonathan Frederic
4b968ece0b
s/target_name/model_name
11 years ago
Jonathan Frederic
24096b0f45
Separate widget model name from com target name.
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
Thomas Kluyver
09b10dcb86
Make changes suggested by @jdfreder
11 years ago
Thomas Kluyver
5953a3f874
Allow widget views to be loaded from require modules
...
This required refactoring things that create widget views to use
callbacks instead of return values.
11 years ago
Sylvain Corlay
54a36e7369
forcing value to be in values
11 years ago
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
11 years ago
Jonathan Frederic
f83140dae8
s/long thing/set_state
11 years ago
Sylvain Corlay
859de50a68
Adding directional link widget
11 years ago
Jason Grout
34939886a3
Adding Link widget
11 years ago
Jonathan Frederic
341527779b
Fix notify_trait getting called too early.
11 years ago
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
Thomas Kluyver
f420cdf3e7
Make comm_manager a property of kernel, not shell
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
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
12 years ago
Brian E. Granger
1e8b4ee586
Merge pull request #6051 from chronitis/interact-widget-on-demand
...
Interact on_demand option
12 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
9c1c4f9f0a
Fix bug in bounded int/float logic.
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