Show More
@@ -1,29 +1,32 | |||
|
1 | 1 | from .widget import Widget, DOMWidget, CallbackDispatcher, register |
|
2 | 2 | |
|
3 | 3 | from .widget_bool import Checkbox, ToggleButton |
|
4 | 4 | from .widget_button import Button |
|
5 | 5 | from .widget_box import Box, Popup, FlexBox, HBox, VBox |
|
6 | 6 | from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider |
|
7 | 7 | from .widget_image import Image |
|
8 | 8 | from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider |
|
9 | 9 | from .widget_output import Output |
|
10 | 10 | from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select |
|
11 | 11 | from .widget_selectioncontainer import Tab, Accordion |
|
12 | 12 | from .widget_string import HTML, Latex, Text, Textarea |
|
13 | 13 | from .interaction import interact, interactive, fixed, interact_manual |
|
14 | 14 | from .widget_link import Link, link, DirectionalLink, dlink |
|
15 | 15 | |
|
16 | 16 | # Deprecated classes |
|
17 | 17 | from .widget_bool import CheckboxWidget, ToggleButtonWidget |
|
18 | 18 | from .widget_button import ButtonWidget |
|
19 | 19 | from .widget_box import ContainerWidget, PopupWidget |
|
20 | 20 | from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget |
|
21 | 21 | from .widget_image import ImageWidget |
|
22 | 22 | from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget |
|
23 | 23 | from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget |
|
24 | 24 | from .widget_selectioncontainer import TabWidget, AccordionWidget |
|
25 | 25 | from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget |
|
26 | 26 | |
|
27 | # Warn on import | |
|
28 | from warnings import warn | |
|
29 | warn("IPython widgets are experimental and may change in the future.", FutureWarning, stacklevel=2) | |
|
27 | # we use warn_explicit so we have very brief messages without file or line numbers | |
|
28 | # the concern is that file or line numbers will confuse the interactive user | |
|
29 | from warnings import warn_explicit | |
|
30 | __warningregistry__ = {} | |
|
31 | warn_explicit("IPython widgets are experimental and may change in the future.", | |
|
32 | FutureWarning, '', 0, registry=__warningregistry__) |
General Comments 0
You need to be logged in to leave comments.
Login now