bokeh.models.widgets.layouts
¶
Various kinds of layout widgets.
-
class
BaseBox
(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.Layout
Abstract 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.BaseBox
Lay 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
children
keyword argument.
-
class
Layout
(**kwargs)¶ Bases:
bokeh.models.widgets.widget.Widget
An abstract base class for layout widgets.
Layout
is 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.BaseBox
Lay 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
children
keyword argument.
-
class
VBoxForm
(*args, **kwargs)¶ Bases:
bokeh.models.widgets.layouts.VBox
Basically, a VBox, where all components (generally form stuff) is wrapped in a <form> tag - important for bootstrap css