Skip to main content

toolbar_separator

Function toolbar_separator 

Source
pub fn toolbar_separator(id: ElementId) -> ToolbarEntry
Expand description

A divider, where the platform draws one (macOS toolbars have none, so AppKit renders it as a fixed gap; docs/toolbars.md). It takes an id like every other item: an id is an item’s identity on the bar, which is what lets Day add and remove one item at a time.

Day API ↩ Guides· daybrite.dev