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": "3a0df642-972e-49f8-a0cf-83c4433449fa",
"name": null,
"tags": [],
"width": null
},
"id": "3a0df642-972e-49f8-a0cf-83c4433449fa",
"type": "AppHBox"
}
]
AppLayout
(**kwargs)¶[
{
"attributes": {
"app": null,
"disabled": false,
"doc": null,
"height": null,
"id": "97d1f520-49e1-4280-911c-96ea0f1b3820",
"name": null,
"tags": [],
"width": null
},
"id": "97d1f520-49e1-4280-911c-96ea0f1b3820",
"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": "0c8fccdc-b992-4424-a299-21bd0c08b7f2",
"name": null,
"tags": [],
"width": null
},
"id": "0c8fccdc-b992-4424-a299-21bd0c08b7f2",
"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": "32d44447-08ba-4c70-a8ed-3515c9312cbd",
"name": null,
"tags": [],
"width": null
},
"id": "32d44447-08ba-4c70-a8ed-3515c9312cbd",
"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": "bde8da00-c64e-459a-a9f8-e6d6126bbfe0",
"name": null,
"tags": [],
"width": null
},
"id": "bde8da00-c64e-459a-a9f8-e6d6126bbfe0",
"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": "561ebe97-617e-4b6b-8f3c-f943c289a2fb",
"name": null,
"tags": [],
"width": null
},
"id": "561ebe97-617e-4b6b-8f3c-f943c289a2fb",
"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": "0cc9fe0b-231d-4bf3-bdbd-d30e23367bde",
"name": null,
"tags": [],
"width": null
},
"id": "0cc9fe0b-231d-4bf3-bdbd-d30e23367bde",
"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": "90bc4d28-31e5-4c39-af81-10a4e8321d44",
"layout": null,
"name": null,
"objects": {},
"tags": [],
"widget_list": []
},
"id": "90bc4d28-31e5-4c39-af81-10a4e8321d44",
"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": "ca0ef673-0e70-4ab4-9657-aaa7633dd1a2",
"name": null,
"tags": [],
"width": null
},
"id": "ca0ef673-0e70-4ab4-9657-aaa7633dd1a2",
"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": "386dbbce-5fff-48f1-8aad-967ee6366784",
"name": null,
"tags": [],
"width": null
},
"id": "386dbbce-5fff-48f1-8aad-967ee6366784",
"type": "VBoxForm"
}
]