__init__.py
38 lines
| 2.0 KiB
| text/x-python
|
PythonLexer
Sylvain Corlay
|
r18531 | from .widget import Widget, DOMWidget, CallbackDispatcher, register | ||
Jonathan Frederic
|
r14244 | |||
Jonathan Frederic
|
r17598 | from .widget_bool import Checkbox, ToggleButton | ||
from .widget_button import Button | ||||
Jonathan Frederic
|
r19749 | from .widget_box import Box, FlexBox, HBox, VBox | ||
Gordon Ball
|
r17698 | from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider | ||
Jonathan Frederic
|
r17598 | from .widget_image import Image | ||
Gordon Ball
|
r17698 | from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider | ||
Jonathan Frederic
|
r18953 | from .widget_output import Output | ||
Jonathan Frederic
|
r17598 | from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select | ||
from .widget_selectioncontainer import Tab, Accordion | ||||
from .widget_string import HTML, Latex, Text, Textarea | ||||
Gordon Ball
|
r17923 | from .interaction import interact, interactive, fixed, interact_manual | ||
Sylvain Corlay
|
r18052 | from .widget_link import Link, link, DirectionalLink, dlink | ||
Jonathan Frederic
|
r17598 | |||
# Deprecated classes | ||||
Jonathan Frederic
|
r14834 | from .widget_bool import CheckboxWidget, ToggleButtonWidget | ||
Jonathan Frederic
|
r14300 | from .widget_button import ButtonWidget | ||
Jonathan Frederic
|
r19749 | from .widget_box import ContainerWidget | ||
Jonathan Frederic
|
r14670 | from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget | ||
Jonathan Frederic
|
r14449 | from .widget_image import ImageWidget | ||
Jonathan Frederic
|
r14670 | from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget | ||
Jonathan Frederic
|
r14834 | from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget | ||
Jonathan Frederic
|
r14592 | from .widget_selectioncontainer import TabWidget, AccordionWidget | ||
Jonathan Frederic
|
r14834 | from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget | ||
Jonathan Frederic
|
r19206 | |||
Jason Grout
|
r19527 | # 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') | ||||
Jason Grout
|
r19526 | from warnings import warn_explicit | ||
__warningregistry__ = {} | ||||
warn_explicit("IPython widgets are experimental and may change in the future.", | ||||
Jason Grout
|
r19527 | FutureWarning, '', 0, module = 'IPython.html.widgets', | ||
registry = __warningregistry__, module_globals = globals) | ||||