notebook/IPython/html/widgets/widget_container.py

10 lines
275 B
Python
Raw Normal View History

2013-10-18 04:24:59 +08:00
from base import Widget
from IPython.utils.traitlets import Unicode, Bool
2013-10-17 14:15:24 +08:00
class ContainerWidget(Widget):
target_name = Unicode('container_widget')
default_view_name = Unicode('ContainerView')
_keys = ['vbox', 'hbox']
hbox = Bool(True)
vbox = Bool(False)