Commit Graph

131 Commits (f83140dae83a6780365a4cd2331bed30f9bbabfe)

Author SHA1 Message Date
Jonathan Frederic f83140dae8 s/long thing/set_state
11 years ago
Sylvain Corlay a9fca81e95 Set default view to None and never display widget with no view
11 years ago
Brian E. Granger 4ec1a3b41e Merge pull request #6235 from jdfreder/addclass
11 years ago
Jonathan Frederic d4d554052e Address problems found in in-person review
11 years ago
Jonathan Frederic 02e3a58030 s/fore_color/color
12 years ago
Jonathan Frederic 78db5dc24e Merge pull request #6377 from jasongrout/fix-widget-prefix
12 years ago
Jason Grout 2acee4a269 Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
12 years ago
Jonathan Frederic a0e70e350f Fix some bugs found by the widget examples,
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,
12 years ago
Jonathan Frederic 1b29be13c6 Merge pull request #6332 from jasongrout/widget-property-lock
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
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
Jason Grout d64627380b Default view should be the base widget view class
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
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 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 0c72fddaba Update widget serializer/unserializer to allow custom serialization on a trait-by-trait basis.
12 years ago
Jonathan Frederic 74483d77da Change css dict to a list,
12 years ago
Thomas Kluyver 95dc697e3b Remove Widget.closed attribute
12 years ago
Jonathan Frederic dedbc3b0e1 Changed children list to CTuple.
12 years ago
Jonathan Frederic 0eebd9e05b Added msg_throttle sync=True widget traitlet
12 years ago
MinRK ddc22152ea show traceback in widget handlers
12 years ago
Brian E. Granger 2b7310f794 Merge pull request #4933 from jdfreder/widget-model-name
12 years ago
Thomas Kluyver c633256fc9 Fix some formatting in widget docstrings
12 years ago
Jonathan Frederic 865c7330a9 s/model_name/_model_name
12 years ago
MinRK 36db60eacb review pass on Python-side of widgets
12 years ago
Jonathan Frederic e793d022b5 Callback dispatcher return callback value.
12 years ago
Jonathan Frederic 288b8a0ced s/view_name/_view_name
12 years ago
Jonathan Frederic 629d65da89 Fixed context errors and a couple of typos to get the tests working again
12 years ago
Jonathan Frederic d7b86104b8 Fixed typo - else -> elif
12 years ago
Jonathan Frederic e823d386ab Fixed name conflict with _property_lock
12 years ago
Jonathan Frederic 077bd5c6ca Added new CallbackDispatcher class
12 years ago
Jonathan Frederic 611614b6eb Document in widget packing that vaues must be JSON-able.
12 years ago
Jonathan Frederic cf05ef015a ict comprehension and list comprehension in pack/unpack widgets
12 years ago
Jonathan Frederic cb6094281c s/custom_content/content
12 years ago