API referencelayout
Toolbar
Toolbar of clickable actions that can invoke Python callbacks.
Functions
constructor__init__(actions=None, *, callbacks=None, width='100%', height='auto') -> NoneparamactionsIterable[dict[str, Any]] | None= NoneAction definitions. Each action should include an id and label;
optional keys such as icon, icon_src, icon_size,
tooltip, disabled, or separator are forwarded to the
frontend. icon uses bundled workflow icon names.
paramcallbacksdict[str, ActionCallback] | None= NoneCallback map keyed by action id. A callback receives the activated
action id. The map stays available as the callbacks attribute, and
on_click or on_action register callbacks for every activation.
paramwidthint | float | str | None= '100%'Widget width.
paramheightint | float | str | None= 'auto'Widget height.
Returns
None