bokeh.models.widgets.groups¶
-
class
AbstractGroup(**kwargs)¶ Bases:
bokeh.models.widgets.widget.WidgetAbstract base class for all kinds of groups.
AbstractGroupis 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
-
callback¶ property type: callback:Instance(Callback)
A callback to run in the browser whenever a button group is manipulated.
-
labels¶ property type: labels:List(String)
List of text labels contained in this group.
-
-
class
ButtonGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.AbstractGroup,bokeh.models.widgets.buttons.ButtonLikeAbstract base class for groups with items rendered as buttons.
ButtonGroupis not generally useful to instantiate on its own.
-
class
CheckboxButtonGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.ButtonGroupA group of check boxes rendered as toggle buttons.
-
active¶ property type: active:List(Int)
The list of indices of selected check boxes.
-
-
class
CheckboxGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.GroupA group of check boxes.
-
active¶ property type: active:List(Int)
The list of indices of selected check boxes.
-
-
class
Group(**kwargs)¶ Bases:
bokeh.models.widgets.groups.AbstractGroupAbstract base class for groups with items rendered as check/radio boxes.
-
inline¶ property type: inline:Bool
Should items be arrange vertically (
False) or horizontally in-line (True).
-
-
class
RadioButtonGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.ButtonGroupA group of radio boxes rendered as toggle buttons.
-
active¶ property type: active:Int
The index of the selected radio box, or
Noneif nothing is selected.
-
-
class
RadioGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.GroupA group of radio boxes.
-
active¶ property type: active:Int
The index of the selected radio box, or
Noneif nothing is selected.
-