312 Commits (a2575af6a73adaac8ab11a8a152ef8f61ba9e252)

Author SHA1 Message Date
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
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
12 years ago
Jason Grout 0e5ceca059 Make the widget property_lock store the JSON state, not the original object
12 years ago
Jonathan Frederic 690059f8f8 Merge pull request #6296 from jasongrout/sync-hold
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
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
12 years ago
Jason Grout 16c366d1b5 Automatically open a comm on creation of widgets
12 years ago
Jonathan Frederic 36721c73c6 Added some doc strings on the widgets.
12 years ago
Jonathan Frederic dbb88f95cd Make HBox and VBox helper functions
12 years ago
Sylvain Corlay c9ed512d54 adding hbox and vbox
12 years ago
Jonathan Frederic 170b13102e Fix interact tests for rename
12 years ago
Jonathan Frederic ba3033971e Renamed *Widget to *,
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
Jason Grout d64627380b Default view should be the base widget view class
12 years ago
Gordon Ball ff3f952b18 Merge branch 'master' into interact-range-widgets
12 years ago
Jonathan Frederic ba0a805404 Merge pull request #6226 from jasongrout/css-top-default
12 years ago
MinRK 09c1354ea7 avoid unregistering widget model twice
12 years ago
Sylvain Corlay 1bbc915ac0 setting _comm to None
12 years ago
Sylvain Corlay ea52ef8704 del Widget.widgets[seld.model_id] in close rather than in __del__
12 years ago
Jason Grout eccc20ce1a Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
12 years ago
sylvain.corlay a9c34b679b decoupling the comm lifetime from the widget lifetime
12 years ago
Brian E. Granger 372507e3f1 Merge pull request #6128 from jasongrout/widget-trait-serialization
12 years ago
Jason Grout 8fb0ae4d36 Change serialize/deserialize to to_json/from_json
12 years ago
Jason Grout 97141c6bca Simplify the code for picking json serialization functions to expose the logic better
12 years ago
Jason Grout 3235f42d12 Container assumes the children attribute is not None
12 years ago
Jason Grout 06084e996c Change serialization terminology to serialize/deserialize
12 years ago
Jason Grout eed0715a09 Prepend a sentinel value to model ids to distinguish them from normal UUIDs (from Sylvain Corlay).
12 years ago
Jason Grout 14f3897b56 Make Container widgets take children as the first positional argument
12 years ago
Jason Grout 0c72fddaba Update widget serializer/unserializer to allow custom serialization on a trait-by-trait basis.
12 years ago
Jonathan Frederic 636362787b Fixed buggy behavior
12 years ago
Jonathan Frederic 14ff754cdf Allow a widget to be displayed more than once within a parent widget.
12 years ago
Gordon Ball bfd029f5ab Remove tests for 4-5 tuples, add tests for validate logic
12 years ago
Gordon Ball b7bb76f073 Fix validate logic if min/max are changed
12 years ago
Gordon Ball 1cb0cbf4b9 Remove 4-5 tuple forms from interact()
12 years ago
Gordon Ball 7e4cd6abc1 Add tests for the on_demand option
12 years ago
Gordon Ball c85155b25d Add some tests for the 4-5 int/float form in interact()
12 years ago
Gordon Ball 59a461f928 Fix format problem when showing an error
12 years ago
Gordon Ball 5eea47203b Disable run button until the function finishes
12 years ago
Gordon Ball 5524077e87 Add an extended range abbreviation including a step value
12 years ago
Gordon Ball 945a840674 Add float implementation of range widget
12 years ago
Gordon Ball 3178a184c0 Add initial implementation of 2-handle range sliders for integers.
12 years ago
Gordon Ball 4752b83feb Add 'on_demand' option to interact() so that long-running functions can be started only when explicitly requested
12 years ago
Raffaele De Feo 694f33e2ba Validate initial value of "_BoundedFloatWidget".
12 years ago
Jonathan Frederic 74483d77da Change css dict to a list,
12 years ago
Jessica B. Hamrick 287e9a5cbd Add tests for default/custom description
12 years ago
Jessica B. Hamrick 31812159af Only set widget description in interact if it does not already exist
12 years ago
Maximilian Albert fb11e70f53 Fix copy & paste error in docstring.
12 years ago
Jessica B. Hamrick e436850582 Add placeholder attribute to text widgets
12 years ago
jdavidheiser e0a40d54cb Update widget_selection.py
12 years ago
jdavidheiser 52e58dce6d Update widget_selection.py
12 years ago
jdavidheiser 9810033988 widget_selection update
12 years ago
Thomas Kluyver 95dc697e3b Remove Widget.closed attribute
12 years ago
Jonathan Frederic 673577cf6c Merge pull request #5207 from Zaharid/childfireevent
12 years ago
MinRK d8b6a1a0ba don't validate ContainerWidget.children
12 years ago
MinRK cc1ba8b1f7 remove incorrect is instance check in children_changed
12 years ago
MinRK c89ec19fca don't check shape of ContainerWidget.children
12 years ago
Jonathan Frederic 7855de2f13 s/CTuple/Tuple
12 years ago
Jonathan Frederic dedbc3b0e1 Changed children list to CTuple.
12 years ago
zah 439003d709 Children fire event
12 years ago
Brian E. Granger 708c30c912 Merge pull request #5136 from minrk/interact-default
12 years ago
MinRK 62f318c777 undo failed changes
12 years ago
MinRK b51cc50357 further tests for default values in interact
12 years ago
MinRK acfc2d5308 set default value from dict
12 years ago
Jonathan Frederic 0eebd9e05b Added msg_throttle sync=True widget traitlet
12 years ago
MinRK e91ef370dd remove no-op adding abbreviations from always-empty dict
12 years ago
MinRK 8a2d92010a set default value from signature defaults in interact
12 years ago
MinRK d772b4c3da catch errors at a lower level in interact
12 years ago
MinRK ddc22152ea show traceback in widget handlers
12 years ago
MinRK 813e32dfea set readout=True as default on SliderWidgets
12 years ago
MinRK 7861bee65f test widget interaction (Python)
12 years ago
MinRK 6d555b7aee return f with @interact, not just @interact(**kwargs)
12 years ago
MinRK 031b69895c fix ValueError format message
12 years ago
MinRK 48a56d3156 simplify float/int slider abbreviation logic
12 years ago
MinRK 7911c6c237 finish removing *args support
12 years ago
MinRK ad6109692d ensure range widgets get value that is on a step
12 years ago
MinRK a58ca8a0a0 s/const/fixed/
12 years ago
MinRK 2d2c5beb0e move @annotate to py3compat
12 years ago
MinRK 3053a855a9 remove positional arg support from interact
12 years ago
MinRK feab63754d update interact now that SelectionWidget.values is a dict
12 years ago
Brian E. Granger 88fb17b182 Adding const pseudo-widget for fixing arguments to interact.
12 years ago
Brian E. Granger 6e8c63ea19 Adding decorator forms of interact. Yeah!
12 years ago
Brian E. Granger dd9a6efaed Utter interact insanity.
12 years ago
Brian E. Granger 55cddce784 Fixing interact imports.
12 years ago
Brian E. Granger 2ef393aaa3 Renaming interact.py->interaction.py to improve imports.
12 years ago
Thomas Kluyver a96c228554 Get widgets from function annotations and default arguments.
12 years ago