Show More
@@ -342,8 +342,8 b' define([' | |||||
342 | "notebook/js/widgets/widget_image", |
|
342 | "notebook/js/widgets/widget_image", | |
343 | "notebook/js/widgets/widget_int", |
|
343 | "notebook/js/widgets/widget_int", | |
344 | "notebook/js/widgets/widget_int_range", |
|
344 | "notebook/js/widgets/widget_int_range", | |
345 | "notebook/js/widgets/widget_multicontainer", |
|
|||
346 | "notebook/js/widgets/widget_selection", |
|
345 | "notebook/js/widgets/widget_selection", | |
|
346 | "notebook/js/widgets/widget_selectioncontainer", | |||
347 | "notebook/js/widgets/widget_string", |
|
347 | "notebook/js/widgets/widget_string", | |
348 | ], function(){ return true; }); |
|
348 | ], function(){ return true; }); | |
349 | >>>>>>> renamed: basic_widgets.js -> init.js |
|
349 | >>>>>>> renamed: basic_widgets.js -> init.js |
@@ -6,7 +6,7 b'' | |||||
6 | //---------------------------------------------------------------------------- |
|
6 | //---------------------------------------------------------------------------- | |
7 |
|
7 | |||
8 | //============================================================================ |
|
8 | //============================================================================ | |
9 |
// |
|
9 | // SelectionContainerWidget | |
10 | //============================================================================ |
|
10 | //============================================================================ | |
11 |
|
11 | |||
12 | /** |
|
12 | /** | |
@@ -15,8 +15,8 b'' | |||||
15 | **/ |
|
15 | **/ | |
16 |
|
16 | |||
17 | define(["notebook/js/widgets/widget"], function(widget_manager){ |
|
17 | define(["notebook/js/widgets/widget"], function(widget_manager){ | |
18 |
var |
|
18 | var SelectionContainerModel = IPython.WidgetModel.extend({}); | |
19 |
widget_manager.register_widget_model(' |
|
19 | widget_manager.register_widget_model('SelectionContainerWidgetModel', SelectionContainerModel); | |
20 |
|
20 | |||
21 | var AccordionView = IPython.DOMWidgetView.extend({ |
|
21 | var AccordionView = IPython.DOMWidgetView.extend({ | |
22 |
|
22 |
@@ -8,6 +8,6 b' from .widget_float_range import FloatRangeWidget' | |||||
8 | from .widget_image import ImageWidget |
|
8 | from .widget_image import ImageWidget | |
9 | from .widget_int import IntWidget |
|
9 | from .widget_int import IntWidget | |
10 | from .widget_int_range import IntRangeWidget |
|
10 | from .widget_int_range import IntRangeWidget | |
11 | from .widget_multicontainer import MulticontainerWidget |
|
|||
12 | from .widget_selection import SelectionWidget |
|
11 | from .widget_selection import SelectionWidget | |
|
12 | from .widget_selectioncontainer import SelectionContainerWidget | |||
13 | from .widget_string import StringWidget |
|
13 | from .widget_string import StringWidget |
@@ -1,4 +1,4 b'' | |||||
1 |
""" |
|
1 | """SelectionContainerWidget class. | |
2 |
|
2 | |||
3 | Represents a multipage container that can be used to group other widgets into |
|
3 | Represents a multipage container that can be used to group other widgets into | |
4 | pages. |
|
4 | pages. | |
@@ -20,8 +20,8 b' from IPython.utils.traitlets import Unicode, Dict, Int, List, Instance' | |||||
20 | #----------------------------------------------------------------------------- |
|
20 | #----------------------------------------------------------------------------- | |
21 | # Classes |
|
21 | # Classes | |
22 | #----------------------------------------------------------------------------- |
|
22 | #----------------------------------------------------------------------------- | |
23 |
class |
|
23 | class SelectionContainerWidget(DOMWidget): | |
24 |
target_name = Unicode(' |
|
24 | target_name = Unicode('SelectionContainerWidgetModel') | |
25 | view_name = Unicode('TabView') |
|
25 | view_name = Unicode('TabView') | |
26 |
|
26 | |||
27 | # Keys |
|
27 | # Keys |
General Comments 0
You need to be logged in to leave comments.
Login now