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": "4d3789cb-f88f-45a9-869d-8c36fcde2e94",
"labels": [],
"name": null,
"tags": []
},
"id": "4d3789cb-f88f-45a9-869d-8c36fcde2e94",
"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": "b0f02df5-fad3-4a80-a87b-01fc52ec0eaf",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "b0f02df5-fad3-4a80-a87b-01fc52ec0eaf",
"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": "e5cc8371-3641-427c-88f0-db74884a2060",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "e5cc8371-3641-427c-88f0-db74884a2060",
"type": "CheckboxButtonGroup"
}
]
CheckboxGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.Group
A group of check boxes.
[
{
"attributes": {
"active": [],
"disabled": false,
"doc": null,
"id": "75ba82fc-d5b2-4166-a732-5ee82c5cbef2",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "75ba82fc-d5b2-4166-a732-5ee82c5cbef2",
"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": "524471a8-8950-4f7c-a634-7688ac92f921",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "524471a8-8950-4f7c-a634-7688ac92f921",
"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": "ab35fd4a-036d-46f0-9ce7-7bf80aafbf84",
"labels": [],
"name": null,
"tags": [],
"type": "default"
},
"id": "ab35fd4a-036d-46f0-9ce7-7bf80aafbf84",
"type": "RadioButtonGroup"
}
]
RadioGroup
(**kwargs)¶Bases: bokeh.models.widgets.groups.Group
A group of radio boxes.
[
{
"attributes": {
"active": null,
"disabled": false,
"doc": null,
"id": "5f68aa9d-5a12-4798-a064-8d38d82c42b7",
"inline": false,
"labels": [],
"name": null,
"tags": []
},
"id": "5f68aa9d-5a12-4798-a064-8d38d82c42b7",
"type": "RadioGroup"
}
]