In [8]:
from IPython.html import widgets
from ipbs.widgets import (
Button,
ButtonGroup,
ButtonToolbar,
)
import ipbs.bootstrap as bs
In [9]:
groups = [
ButtonGroup(children=[
Button(description=x) for x in ["foo", "bar", "baz"]
]) for g in range(3)
]
bar = ButtonToolbar(children=groups + [widgets.Dropdown()])
Display the widget:
In [10]:
bar