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
fn hide_others(&self)
fn hide_others(&self)
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.