Contents

button

The button displayed in the status bar.

Declaration

var button: NSStatusBarButton? { get }

Discussion

The status item automatically creates this button by default. Use this property to customize the appearance and behavior of the button, such as its image, target, action, toolTip, and so on.

See Also

Managing the Status Item’s Behavior