Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSStatusBarButtonMBS class

Super class: NSButtonMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Statusitem MBS MacControls Plugin 15.0 Yes No No Yes, macOS only No
Function: StatusBarButtons are the visual representation of NSStatusItems, and are primarily displayed on the right side of the menu bar.
Notes:
When a template image is set as the \c image property of the status bar button, it is rendered with the correct menu bar style. This guarantees that the button will look correct in various button states and appearances (such as dark menu bar).

Available on Mac OS X 10.10 and newer.
Subclass of the NSButtonMBS class.

Feedback, Comments & Corrections

Super class NSButtonMBS

Super class NSControlMBS

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.


The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin.


NSSpellCheckerMBS   -   NSStatusItemMBS




Links
MBS Xojo Plugins