Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Frederic
d985ee86c6 s/Container/Box 2014-08-13 13:19:27 -07:00
Jonathan Frederic
36721c73c6 Added some doc strings on the widgets.
Also address the comments Matthias left me.
2014-08-08 14:57:51 -07:00
Sylvain Corlay
c9ed512d54 adding hbox and vbox
Conflicts:
	IPython/html/static/widgets/js/widget_container.js
	IPython/html/widgets/widget_container.py
2014-08-08 14:57:51 -07:00
Jonathan Frederic
ba3033971e Renamed *Widget to *,
depracted old names.
2014-08-08 14:56:11 -07:00
Jonathan Frederic
37f00f73d7 Added baseline and stretch 2014-08-08 14:56:10 -07:00
Jonathan Frederic
6faf86ee77 Embrace flexible box model 2014-08-08 14:56:10 -07:00
MinRK
a58ca8a0a0 s/const/fixed/ 2014-02-06 17:06:07 -08:00
MinRK
2d2c5beb0e move @annotate to py3compat 2014-02-06 17:06:07 -08:00
Brian E. Granger
88fb17b182 Adding const pseudo-widget for fixing arguments to interact. 2014-02-06 17:06:06 -08:00
Brian E. Granger
dd9a6efaed Utter interact insanity.
This involves a bunch of really complicated logic to handle the
different ways that function parameters can be processed in Python.
Most importantly, this includes support for *args in interact.
2014-02-06 17:06:05 -08:00
Brian E. Granger
55cddce784 Fixing interact imports. 2014-02-06 17:06:05 -08:00
Jonathan Frederic
75b148d40b Renamed widgets...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
2014-01-28 12:51:24 -08:00
Jonathan Frederic
e793d022b5 Callback dispatcher return callback value.
Also import it with the widgets namespace so it can be used elsewhere.
2014-01-23 10:52:33 -08:00
Jonathan Frederic
046280b51a s/ModalView/PopupView 2014-01-21 17:09:49 -08:00
Jonathan Frederic
e323f64e6d Create base widget classes 2014-01-21 16:44:57 -08:00
Jonathan Frederic
047a90538f 1-to-1 widget / view mapping 2014-01-16 10:57:18 +00:00
Jonathan Frederic
70c6a295d0 Finished renaming Multicontainer to SelectionContainer 2014-01-16 10:57:17 +00:00
Jonathan Frederic
21a14e11a4 s/Widget/DOMWidget s/BaseWidget/Widget 2014-01-16 10:57:14 +00:00
Jonathan Frederic
1b02e8f607 Add ImageWidget 2014-01-16 10:57:07 +00:00
Jonathan Frederic
8502b2c182 Remove init_widget_js, use require.js for everything
Updated examples
Fixed bug with message throttling
2014-01-16 10:56:59 +00:00
Jonathan Frederic
8687ad881a Fixed widget imports for Python3 2014-01-16 10:56:02 +00:00
Jonathan Frederic
692c8f29a6 Added multicontainer widget 2014-01-16 10:56:01 +00:00
Jonathan Frederic
c20859a5c9 Add button widget 2014-01-16 10:56:00 +00:00
Jonathan Frederic
65a6000919 Renamed widget python classes to avoid name stomping 2014-01-16 10:56:00 +00:00
Jonathan Frederic
f3a3e7c9cb Added int widget 2014-01-16 10:56:00 +00:00
Jonathan Frederic
26f31184e7 Added float widget 2014-01-16 10:56:00 +00:00
Jonathan Frederic
55a6e00788 Added missing import reference for bool widget 2014-01-16 10:56:00 +00:00
Jonathan Frederic
03a832753e Changed js loading,
Use require.js in js files
Assume 1 on 1 mapping of py file names to js file names
2014-01-16 10:55:59 +00:00
Jonathan Frederic
990303f3eb Removed require.js scheme since it forces async event driven model,
this model does not work with the comm/widget communication model.
We need to be able to load the dependencies before we send the
show() message to the widget manager.  Otherwise a race condition
will exist where the widget manager may recieve the show message
before the dependencies have been loaded (happened almost every time).
2014-01-16 10:55:59 +00:00
Jonathan Frederic
fffaba9a7b Moved widget js into static 2014-01-16 10:55:58 +00:00
Jonathan Frederic
dde9018ab3 Register init_widget_js
and remove cls parameter
2014-01-16 10:55:58 +00:00
Jonathan Frederic
119104f2e8 Register new widgets in IPython.html.widgets namespace 2014-01-16 10:55:58 +00:00
Jonathan Frederic
918d57050a Added widget.py 2014-01-16 10:55:57 +00:00