Platforms to show: All Mac Windows Linux Cross-Platform
NSTouchBarItemMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
- 2 events
- 7 properties
- property customizationLabel as String
- property Handle as Integer
- property identifier as String
- property view as NSViewMBS
- property viewController as NSViewControllerMBS
- property visibilityPriority as Single
- property visible as Boolean
- method Constructor(identifier as string)
- 5 shared methods
- shared method Available as Boolean
- shared method NSTouchBarItemIdentifierFixedSpaceLarge as String
- shared method NSTouchBarItemIdentifierFixedSpaceSmall as String
- shared method NSTouchBarItemIdentifierFlexibleSpace as String
- shared method NSTouchBarItemIdentifierOtherItemsProxy as String
- 3 constants
Visibility Priority
Constant | Value | Description |
---|---|---|
PriorityHigh | 1000 |
nItems with high visibility priority will be hidden after items with low visibility priority.one |
PriorityLow | -1000 |
nItems with high visibility priority will be hidden after items with low visibility priority.one |
PriorityNormal | 0 |
nItems with high visibility priority will be hidden after items with low visibility priority.one |
Sub classes:
- class NSColorPickerTouchBarItemMBS
- class NSCustomTouchBarItemMBS
- class NSGroupTouchBarItemMBS
- class NSPopoverTouchBarItemMBS
- class NSSliderTouchBarItemMBS
Some methods using this class:
- NSGroupTouchBarItemMBS.groupItemWithIdentifier(identifier as string, items() as NSTouchBarItemMBS) as NSGroupTouchBarItemMBS
- NSTouchBarMBS.itemForIdentifier(identifier as string) as NSTouchBarItemMBS
- NSTouchBarMBS.setTemplateItems(Identifiers() as NSTouchBarItemMBS)
- NSTouchBarMBS.templateItems as NSTouchBarItemMBS()
Some events using this class:
- NSTouchBarMBS.makeItemForIdentifier(identifier as string) as NSTouchBarItemMBS
Some examples using this class:
Blog Entries
Xojo Developer Magazine
- 15.5, pages 42 to 44: Touché, Using Apple's Touch Bar with Xojo by Marc Zeedar
- 15.5, page 39: Touché, Using Apple's Touch Bar with Xojo by Marc Zeedar
- 15.5, page 37: Touché, Using Apple's Touch Bar with Xojo by Marc Zeedar
Videos
The items on this page are in the following plugins: MBS Mac64bit Plugin.