Skip to main content

MacActivationPolicy

Type Alias MacActivationPolicy 

Source
pub type MacActivationPolicy = ActivationPolicy;
👎Deprecated:

renamed to ActivationPolicy

Expand description

The activation policy for a macOS application.

Aliased Type§

pub enum MacActivationPolicy {
    Regular,
    Accessory,
    Prohibited,
}

Variants§

§

Regular

Participate in foreground application UI, such as the Dock and menu bar on macOS.

§

Accessory

Run without foreground application UI while retaining the ability to open windows.

§

Prohibited

Run in the background without windows; the app cannot be activated.