Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSPopoverTouchBarItemMBS class.
NSPopoverTouchBarItemMBS.collapsedRepresentation as NSViewMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
By default, this is an NSButton whose target is this popover item, whose action is showPopover, and whose image and title are bound to this item's collapsedRepresentationImage and collapsedRepresentationLabel respectively.
(Read and Write property)
NSPopoverTouchBarItemMBS.collapsedRepresentationImage as NSImageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If the collapsedRepresentation button has been replaced by a different view, this property may not have any effect.
(Read and Write property)
NSPopoverTouchBarItemMBS.collapsedRepresentationLabel as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If the collapsedRepresentation button has been replaced by a different view, this property may not have any effect. This property is archived.
(Read and Write property)
NSPopoverTouchBarItemMBS.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 default value is empty string.
(Read and Write property)
NSPopoverTouchBarItemMBS.popoverTouchBar as NSTouchBarMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
By default this is an empty touch bar that cannot be customized. This property is archived.
(Read and Write property)
NSPopoverTouchBarItemMBS.pressAndHoldTouchBar as NSTouchBarMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | TouchBar | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This touch bar can be the same as the one used for "popoverTouchBar" property, but does not have to be. When non-nil this touch bar will be displayed while the user holds their finger down on the collapsed representation and released when the user raises their finger. This tracking behavior is automatic, but popovers with custom collapsed representations will still need to send showPopover to start tracking.
(Read and Write property)
NSPopoverTouchBarItemMBS.showsCloseButton 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 false it is the responsibility of the client to dismiss the popover.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.