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
-
labels¶ property type: labels:List(String)
List of text labels contained in this group.
-
-
class
ButtonGroup(**kwargs)¶ Bases:
bokeh.models.widgets.groups.AbstractGroupAbstract base class for groups with items rendered as buttons.
ButtonGroupis not generally useful to instantiate on its own.-
type¶ property type: type:Enum(‘default’, ‘primary’, ‘success’, ‘warning’, ‘danger’, ‘link’)
A style for the button, signifying it’s role.
-
-
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.
-