Contents

drawStatusBarBackground(in:withHighlight:)

Draws the menu background pattern for a custom status-bar item in regular or highlight pattern.

Declaration

func drawStatusBarBackground(in rect: NSRect, withHighlight highlight: Bool)

Parameters

  • rect:

    A rectangle defining the area of a custom status-bar item.

  • highlight:

    True to draw the background pattern in the standard highlight pattern, False to not highlight the pattern.

Discussion

You can use this method to help a custom status-bar item emulate the behavior of a standard item.

See Also

Deprecated