##// END OF EJS Templates
Add warning to widget namespace import.
Jonathan Frederic -
Show More
@@ -1,24 +1,29 b''
1 from .widget import Widget, DOMWidget, CallbackDispatcher, register
1 from .widget import Widget, DOMWidget, CallbackDispatcher, register
2
2
3 from .widget_bool import Checkbox, ToggleButton
3 from .widget_bool import Checkbox, ToggleButton
4 from .widget_button import Button
4 from .widget_button import Button
5 from .widget_box import Box, Popup, FlexBox, HBox, VBox
5 from .widget_box import Box, Popup, FlexBox, HBox, VBox
6 from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider
6 from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider
7 from .widget_image import Image
7 from .widget_image import Image
8 from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider
8 from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider
9 from .widget_output import Output
9 from .widget_output import Output
10 from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select
10 from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select
11 from .widget_selectioncontainer import Tab, Accordion
11 from .widget_selectioncontainer import Tab, Accordion
12 from .widget_string import HTML, Latex, Text, Textarea
12 from .widget_string import HTML, Latex, Text, Textarea
13 from .interaction import interact, interactive, fixed, interact_manual
13 from .interaction import interact, interactive, fixed, interact_manual
14
14
15 # Deprecated classes
15 # Deprecated classes
16 from .widget_bool import CheckboxWidget, ToggleButtonWidget
16 from .widget_bool import CheckboxWidget, ToggleButtonWidget
17 from .widget_button import ButtonWidget
17 from .widget_button import ButtonWidget
18 from .widget_box import ContainerWidget, PopupWidget
18 from .widget_box import ContainerWidget, PopupWidget
19 from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget
19 from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget
20 from .widget_image import ImageWidget
20 from .widget_image import ImageWidget
21 from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget
21 from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget
22 from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget
22 from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget
23 from .widget_selectioncontainer import TabWidget, AccordionWidget
23 from .widget_selectioncontainer import TabWidget, AccordionWidget
24 from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
24 from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
25
26 # Warn on import
27 from IPython.utils.warn import warn
28 warn("""The widget API is still considered experimental and
29 may change by the next major release of IPython.""")
General Comments 0
You need to be logged in to leave comments. Login now