2014-09-18 05:04:03 +08:00
|
|
|
from .widget import Widget, DOMWidget, CallbackDispatcher, register
|
2013-10-17 14:16:43 +08:00
|
|
|
|
2014-07-19 03:47:33 +08:00
|
|
|
from .widget_bool import Checkbox, ToggleButton
|
|
|
|
from .widget_button import Button
|
2014-12-30 00:08:20 +08:00
|
|
|
from .widget_box import Box, FlexBox, HBox, VBox
|
2014-08-22 16:19:03 +08:00
|
|
|
from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider
|
2014-07-19 03:47:33 +08:00
|
|
|
from .widget_image import Image
|
2014-08-22 16:19:03 +08:00
|
|
|
from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider
|
2014-10-10 06:58:27 +08:00
|
|
|
from .widget_output import Output
|
2014-07-19 03:47:33 +08:00
|
|
|
from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select
|
|
|
|
from .widget_selectioncontainer import Tab, Accordion
|
|
|
|
from .widget_string import HTML, Latex, Text, Textarea
|
2014-09-23 03:23:51 +08:00
|
|
|
from .interaction import interact, interactive, fixed, interact_manual
|
2015-01-28 05:38:49 +08:00
|
|
|
from .widget_link import jslink, jsdlink, Link, DirectionalLink
|
2014-07-19 03:47:33 +08:00
|
|
|
|
|
|
|
# Deprecated classes
|
2014-01-29 04:51:24 +08:00
|
|
|
from .widget_bool import CheckboxWidget, ToggleButtonWidget
|
2013-10-31 04:48:00 +08:00
|
|
|
from .widget_button import ButtonWidget
|
2014-12-30 00:08:20 +08:00
|
|
|
from .widget_box import ContainerWidget
|
2014-01-22 08:44:57 +08:00
|
|
|
from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget
|
2013-12-07 08:06:14 +08:00
|
|
|
from .widget_image import ImageWidget
|
2014-01-22 08:44:57 +08:00
|
|
|
from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget
|
2014-01-29 04:51:24 +08:00
|
|
|
from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget
|
2014-01-15 00:24:35 +08:00
|
|
|
from .widget_selectioncontainer import TabWidget, AccordionWidget
|
2014-01-29 04:51:24 +08:00
|
|
|
from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
|
2014-12-05 07:38:13 +08:00
|
|
|
|
2014-12-13 08:09:43 +08:00
|
|
|
# We use warn_explicit so we have very brief messages without file or line numbers.
|
|
|
|
# The concern is that file or line numbers will confuse the interactive user.
|
|
|
|
# To ignore this warning, do:
|
|
|
|
#
|
|
|
|
# from warnings import filterwarnings
|
|
|
|
# filterwarnings('ignore', module='IPython.html.widgets')
|
|
|
|
|
2014-12-13 07:57:17 +08:00
|
|
|
from warnings import warn_explicit
|
|
|
|
__warningregistry__ = {}
|
|
|
|
warn_explicit("IPython widgets are experimental and may change in the future.",
|
2014-12-13 08:09:43 +08:00
|
|
|
FutureWarning, '', 0, module = 'IPython.html.widgets',
|
|
|
|
registry = __warningregistry__, module_globals = globals)
|