Platforms to show: All Mac Windows Linux Cross-Platform

NSTouchBarItemMBS.Available as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Whether this class is available.
Example:
if NSTouchBarItemMBS.Available then
MsgBox "This Mac may have a TouchBar or not."
else
MsgBox "This Mac is too old for a TouchBar."
end if
Notes: Returns true on macOS 10.12.1 and newer, if the version with TouchBar support is installed.

Feedback, Comments & Corrections

NSTouchBarItemMBS.NSTouchBarItemIdentifierFixedSpaceLarge as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: The identifier of an item appropriate for use as a large space in the touch bar.
Example:
// create flexible space item
dim t as new NSTouchBarItemMBS(NSTouchBarItemMBS.NSTouchBarItemIdentifierFixedSpaceLarge)
Notes: Generally, you can use this identifier in a touch bar's itemIdentifiers array, and it will instantiate that space for you.

Feedback, Comments & Corrections

NSTouchBarItemMBS.NSTouchBarItemIdentifierFixedSpaceSmall as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: The identifier of an item appropriate for use as a small space in the touch bar.
Example:
// create fixed space item
dim t as new NSTouchBarItemMBS(NSTouchBarItemMBS.NSTouchBarItemIdentifierFixedSpaceSmall)
Notes: Generally, you can use this identifier in a touch bar's itemIdentifiers array, and it will instantiate that space for you.

Feedback, Comments & Corrections

NSTouchBarItemMBS.NSTouchBarItemIdentifierFlexibleSpace as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: The identifier of an item appropriate for use as a flexible space in the touch bar.
Example:
// create flexible space item
dim t as new NSTouchBarItemMBS(NSTouchBarItemMBS.NSTouchBarItemIdentifierFlexibleSpace)
Notes: Generally, you can use this identifier in a touch bar's itemIdentifiers array, and it will instantiate that space for you.

Feedback, Comments & Corrections

NSTouchBarItemMBS.NSTouchBarItemIdentifierOtherItemsProxy as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: The identifier of the special "other items proxy."
Example:
// create proxy item
dim t as new NSTouchBarItemMBS(NSTouchBarItemMBS.NSTouchBarItemIdentifierOtherItemsProxy)
Notes:
Generally, you can use this identifier in a touch bar's itemIdentifiers array, and a special proxy item will be instantiated for you. When the touch bar containing this item is visible, touch bars provided by items closer to the first responder will be nested inside the space denoted for this item. Space items on either side of this item will be automatically massaged to handle cases where the touch bar containing this identifier is itself the bar closest to the first responder (or closer bars are empty.)
Note that a touch bar lacking this item identifier will be replaced in its entirety by touch bars closer to the first responder.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Plugins