__init__.py
40 lines
| 2.0 KiB
| text/x-python
|
PythonLexer
Sylvain Corlay
|
r21157 | from .widget import Widget, DOMWidget, CallbackDispatcher, register, widget_serialization | ||
Jonathan Frederic
|
r14244 | |||
Min RK
|
r21169 | from .trait_types import Color, EventfulDict, EventfulList | ||
Sylvain Corlay
|
r20797 | |||
Sylvain Corlay
|
r20820 | from .widget_bool import Checkbox, ToggleButton, Valid | ||
Jonathan Frederic
|
r17598 | 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 | ||
Nicholas Bollweg
|
r20287 | from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select, SelectMultiple | ||
Jonathan Frederic
|
r17598 | 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 | ||
Min RK
|
r20231 | from .widget_link import jslink, jsdlink | ||
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) | ||||