Skip to main content

toolbar

Function toolbar 

Source
pub fn toolbar(id: &str, items: &[ToolItem], vertical: bool) -> El
Expand description

A toolbar (style it with TOOLBAR_CSS): a row, or a column when vertical, of ToolItems. Hits {id}:{key} per enabled button, {id}:{key}:menu per split chevron (open its flyout with menu at flyout_at); picked_tool reads them.