bokeh.models.widgets.layouts¶Various kinds of lyaout widgets.
AppHBox(*args, **kwargs)¶Bases: bokeh.models.widgets.layouts.HBox, bokeh.models.widgets.layouts.AppLayout
VBox, except children can be other plot objects, as well as strings (which are then evaluated in an app namespace for de-referencing
[
{
"attributes": {
"app": null,
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "01fed05c-8372-4db6-afe1-5361255a600c",
"name": null,
"tags": [],
"width": null
},
"id": "01fed05c-8372-4db6-afe1-5361255a600c",
"type": "AppHBox"
}
]
AppLayout(**kwargs)¶[
{
"attributes": {
"app": null,
"disabled": false,
"doc": null,
"height": null,
"id": "d977d038-c972-471f-b4bb-2f5cbd58a52b",
"name": null,
"tags": [],
"width": null
},
"id": "d977d038-c972-471f-b4bb-2f5cbd58a52b",
"type": "AppLayout"
}
]
AppVBox(*args, **kwargs)¶Bases: bokeh.models.widgets.layouts.VBox, bokeh.models.widgets.layouts.AppLayout
VBox, except children can be other plot objects, as well as strings (which are then evaluated in an app namespace for de-referencing
[
{
"attributes": {
"app": null,
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "f33c4db5-a4a8-4280-a9e0-48effee63998",
"name": null,
"tags": [],
"width": null
},
"id": "f33c4db5-a4a8-4280-a9e0-48effee63998",
"type": "AppVBox"
}
]
AppVBoxForm(*args, **kwargs)¶Bases: bokeh.models.widgets.layouts.VBox, bokeh.models.widgets.layouts.AppLayout
VBox, except children can be other plot objects, as well as strings (which are then evaluated in an app namespace for de-referencing
[
{
"attributes": {
"app": null,
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "5264b696-aacf-49cc-b6df-30a1e3e17c92",
"name": null,
"tags": [],
"width": null
},
"id": "5264b696-aacf-49cc-b6df-30a1e3e17c92",
"type": "AppVBoxForm"
}
]
BaseBox(*args, **kwargs)¶Bases: bokeh.models.widgets.layouts.Layout
Abstract base class for HBox and VBox. Do not use directly.
[
{
"attributes": {
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "99cd734c-88be-4330-a768-24765af7467c",
"name": null,
"tags": [],
"width": null
},
"id": "99cd734c-88be-4330-a768-24765af7467c",
"type": "BaseBox"
}
]
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.
[
{
"attributes": {
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "26a3060f-e861-49d2-933e-e6288365b6f6",
"name": null,
"tags": [],
"width": null
},
"id": "26a3060f-e861-49d2-933e-e6288365b6f6",
"type": "HBox"
}
]
Layout(**kwargs)¶Bases: bokeh.models.widget.Widget
An abstract base class for layout widgets. Layout is not
generally useful to instantiate on its own.
[
{
"attributes": {
"disabled": false,
"doc": null,
"height": null,
"id": "90efc6c6-5675-46f4-b0f8-2ed531608f58",
"name": null,
"tags": [],
"width": null
},
"id": "90efc6c6-5675-46f4-b0f8-2ed531608f58",
"type": "Layout"
}
]
SimpleApp(**kwargs)¶Bases: bokeh.models.widget.Widget
args_for_func(func)¶callback(func)¶clear_debounce()¶create(name, widgets)¶default_layout()¶process_user_result(result)¶set_debounce()¶set_output()¶setup_events()¶create_registry = {}¶layout_registry = {}¶update_registry = {}¶widget_dict¶[
{
"attributes": {
"disabled": false,
"doc": null,
"id": "865f08d3-417e-4195-bd15-606e938d8637",
"layout": null,
"name": null,
"objects": {},
"tags": [],
"widget_list": []
},
"id": "865f08d3-417e-4195-bd15-606e938d8637",
"type": "SimpleApp"
}
]
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.
[
{
"attributes": {
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "135e8a53-0676-4918-a2dd-3834ee887bab",
"name": null,
"tags": [],
"width": null
},
"id": "135e8a53-0676-4918-a2dd-3834ee887bab",
"type": "VBox"
}
]
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
[
{
"attributes": {
"children": [],
"disabled": false,
"doc": null,
"height": null,
"id": "3c211dc8-3a6f-4454-aafa-7e59773e7a96",
"name": null,
"tags": [],
"width": null
},
"id": "3c211dc8-3a6f-4454-aafa-7e59773e7a96",
"type": "VBoxForm"
}
]