Trait druid_shell::platform::mac::ApplicationExt[][src]

pub trait ApplicationExt {
    fn hide(&self);
fn hide_others(&self);
fn set_menu(&self, menu: Menu); }
Expand description

macOS specific extensions to Application

Required methods

Hide the application this window belongs to. (cmd+H)

Hide all other applications. (cmd+opt+H)

Sets the global application menu, on platforms where there is one.

On platforms with no global application menu, this has no effect.

Implementors