pub trait ActiveEventLoopExtMacOS {
// Required methods
fn hide_application(&self);
fn hide_other_applications(&self);
fn set_allows_automatic_window_tabbing(&self, enabled: bool);
fn allows_automatic_window_tabbing(&self) -> bool;
}
Expand description
Additional methods on ActiveEventLoop
that are specific to macOS.
Required Methods§
Sourcefn hide_application(&self)
fn hide_application(&self)
Hide the entire application. In most applications this is typically triggered with Command-H.
Sourcefn hide_other_applications(&self)
fn hide_other_applications(&self)
Hide the other applications. In most applications this is typically triggered with Command+Option-H.
Sourcefn set_allows_automatic_window_tabbing(&self, enabled: bool)
fn set_allows_automatic_window_tabbing(&self, enabled: bool)
Set whether the system can automatically organize windows into tabs.
https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing
Sourcefn allows_automatic_window_tabbing(&self) -> bool
fn allows_automatic_window_tabbing(&self) -> bool
Returns whether the system can automatically organize windows into tabs.