bokeh.models.widgets.groups
¶AbstractGroup
(**kwargs)¶Bases: bokeh.models.widget.Widget
Abstract base class for all kinds of groups. AbstractGroup
is not generally useful to instantiate on its own.
on_click
(handler)¶Set up a handler for button check/radio box clicks including the selected indices.
Parameters: | handler (func) – handler function to call when button is clicked. |
---|---|
Returns: | None |
[
{
"attributes": {
"disabled": false,
"doc": null,
"id": "0c08e652-9ea7-4c94-8095-6ec853c46463",
"labels": [],
"name": null,
"tags": []
},
"id": "0c08e652-9ea7-4c94-8095-6ec853c46463",
"type": "AbstractGroup"
}
]
ButtonGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.AbstractGroup
Abstract base class for groups with items rendered as buttons.
ButtonGroup
is not generally useful to instantiate on its own.
[
{
"attributes": {
"disabled": false,
"doc": null,
"id": "bf57224e-1e7c-4c8a-86df-4d037aa0c6e0",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "bf57224e-1e7c-4c8a-86df-4d037aa0c6e0",
"type": "ButtonGroup"
}
]
CheckboxButtonGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.ButtonGroup
A group of check boxes rendered as toggle buttons.
[
{
"attributes": {
"active": [],
"disabled": false,
"doc": null,
"id": "9c83064b-027e-4432-8043-0b9efdaf3003",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "9c83064b-027e-4432-8043-0b9efdaf3003",
"type": "CheckboxButtonGroup"
}
]
CheckboxGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.Group
A group of check boxes.
[
{
"attributes": {
"active": [],
"disabled": false,
"doc": null,
"id": "d2925441-01b0-4a36-be72-ec1d368f6240",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "d2925441-01b0-4a36-be72-ec1d368f6240",
"type": "CheckboxGroup"
}
]
Group
(**kwargs)¶Bases: bokeh.models.widgets.groups.AbstractGroup
Abstract base class for groups with items rendered as check/radio boxes.
[
{
"attributes": {
"disabled": false,
"doc": null,
"id": "68f121ca-1fd8-4a08-8ec9-da1533d3b616",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "68f121ca-1fd8-4a08-8ec9-da1533d3b616",
"type": "Group"
}
]
RadioButtonGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.ButtonGroup
A group of radio boxes rendered as toggle buttons.
[
{
"attributes": {
"active": null,
"disabled": false,
"doc": null,
"id": "edab54ec-6974-4eaf-b417-2ab7d917e91a",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "edab54ec-6974-4eaf-b417-2ab7d917e91a",
"type": "RadioButtonGroup"
}
]
RadioGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.Group
A group of radio boxes.
[
{
"attributes": {
"active": null,
"disabled": false,
"doc": null,
"id": "c1075ce7-89d3-4d43-8e49-530910222ed0",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "c1075ce7-89d3-4d43-8e49-530910222ed0",
"type": "RadioGroup"
}
]