Skip to main content

toolbar_command

Function toolbar_command 

Source
pub fn toolbar_command(
    id: &str,
    label: &str,
    symbol: &str,
    command: Command,
) -> ToolbarItem
Expand description

A toolbar button that performs command on its window’s focus, disabled while nothing there handles it.