NSStatusItemMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem