Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTouchBarItemMBS class.

NSTouchBarItemMBS.customizationLabel as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The localized string labelling this item during user customization.

The default value is empty string.
(Read only property)

NSTouchBarItemMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The internal object reference.

(Read and Write property)

NSTouchBarItemMBS.identifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The identifier of this item.

Apart from spaces, item identifiers should be globally unique.
(Read only property)

NSTouchBarItemMBS.view as NSViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Intended for subclassing.

By default, this method returns this item's view controller's view.
(Read only property)

NSTouchBarItemMBS.viewController as NSViewControllerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Intended for subclassing.

By default, this method returns nil.
(Read only property)

NSTouchBarItemMBS.visibilityPriority as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
If there are more items in the touch bar than can be displayed, some will be hidden.
Example
dim t as NSSliderTouchBarItemMBS = new NSSliderTouchBarItemMBS("test")
t.visibilityPriority = t.PriorityLow

Items with high visibility priority will be hidden after items with low visibility priority.
(Read and Write property)

NSTouchBarItemMBS.visible as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
When true, this item is attached to a visible touch bar, and is being displayed.

Note that some types of items are never considered visible, for example spaces, other items proxys, and groups.
This property is key value observable.
(Read only property)

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


The biggest plugin in space...