Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSStatusItemMBS class.

NSStatusItemMBS.Available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Statusitem MBS MacCocoa Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether Statusitems are available.

True on MachO platforms.

NSStatusItemMBS.MenuIsVertical as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Statusitem MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns true if the statusitem has a vertical orientation.
Example
MsgBox str(NSStatusItemMBS.MenuIsVertical)

NSStatusItemMBS.MenuThickness as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Statusitem MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The thickness of the status bar.
Example
MsgBox str(NSStatusItemMBS.MenuThickness)

The status bar returned by systemStatusBar has a thickness of 22 pixels, the thickness of the menu bar.

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


The biggest plugin in space...