Structure

NSStatusItem.Behavior

A set of optional status item behaviors.

Declaration

struct Behavior

Topics

Behaviors

static var removalAllowed: NSStatusItem.Behavior

A status item that allows interactive removal.

static var terminationOnRemoval: NSStatusItem.Behavior

A status item that quits the application upon removal.

Relationships

Conforms To

See Also

Managing the Status Item’s Behavior

var behavior: NSStatusItem.Behavior

The set of allowed behaviors for the status item.

var button: NSStatusBarButton?

The button displayed in the status bar.

var menu: NSMenu?

The pull-down menu displayed when the user clicks the status item.