Platforms to show: All Mac Windows Linux Cross-Platform
NSTouchBarMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
- 7 events
- event DidEnterCustomization
- event DidExitCustomization
- event Hidden
- event makeItemForIdentifier(identifier as string) as NSTouchBarItemMBS
- event Shown
- event WillEnterCustomization
- event WillExitCustomization
- 4 properties
- property customizationIdentifier as String
- property Handle as Integer
- property principalItemIdentifier as String
- property visible as Boolean
- shared property automaticCustomizeTouchBarMenuItemEnabled as Boolean
- 15 methods
- method AssignToApp
- method AssignToWindow(window as DesktopWindow)
- method AssignToWindow(window as NSWindowMBS)
- method AssignToWindow(window as window)
- method Constructor
- method customizationAllowedItemIdentifiers as String()
- method customizationRequiredItemIdentifiers as String()
- method defaultItemIdentifiers as String()
- method itemForIdentifier(identifier as string) as NSTouchBarItemMBS
- method itemIdentifiers as String()
- method setCustomizationAllowedItemIdentifiers(Identifiers() as String)
- method setCustomizationRequiredItemIdentifiers(Identifiers() as String)
- method setDefaultItemIdentifiers(Identifiers() as String)
- method setTemplateItems(Identifiers() as NSTouchBarItemMBS)
- method templateItems as NSTouchBarItemMBS()
- 5 shared methods
- shared method Available as Boolean
- shared method RemoveTouchBarFromApp
- shared method RemoveTouchBarFromWindow(window as NSWindowMBS)
- shared method RemoveTouchBarFromWindow(window as window)
- shared method toggleTouchBarCustomizationPalette
This class has no sub classes.
Some properties using for this class:
- NSPopoverTouchBarItemMBS.popoverTouchBar as NSTouchBarMBS
- NSPopoverTouchBarItemMBS.pressAndHoldTouchBar as NSTouchBarMBS
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 17.3pr1
- MBS Xojo / Real Studio Plugins, version 16.5pr7
- MBS Xojo / Real Studio Plugins, version 16.5pr5
Xojo Developer Magazine
Videos
Release notes
- Version 17.3
- Added RemoveTouchBarFromWindow and RemoveTouchBarFromApp for NSTouchBarMBS class.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
NSTouchBarItemMBS - NSTouchMBS