bokeh.models.widgets.layouts¶
Various kinds of layout widgets.
-
class
BaseBox(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.LayoutAbstract base class for HBox and VBox. Do not use directly.
-
children¶ property type: children:List(Instance(Component))
The list of children, which can be other widgets (including layouts) and plots.
-
-
class
HBox(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.BaseBoxLay out child widgets in a single horizontal row.
Children can be specified as positional arguments, as a single argument that is a sequence, or using the
childrenkeyword argument.
-
class
Layout(**kwargs)¶ Bases:
bokeh.models.widgets.widget.WidgetAn abstract base class for layout widgets.
Layoutis not generally useful to instantiate on its own.-
height¶ property type: height:Int
An optional height for the widget (in pixels).
-
width¶ property type: width:Int
An optional width for the widget (in pixels).
-
-
class
VBox(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.BaseBoxLay out child widgets in a single vertical row.
Children can be specified as positional arguments, as a single argument that is a sequence, or using the
childrenkeyword argument.
-
class
VBoxForm(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.VBoxBasically, a VBox, where all components (generally form stuff) is wrapped in a <form> tag - important for bootstrap css