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
The view displayed when the item is in its hosted touch bar.

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
The image displayed by the button used by default for the default collapsed representation.

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
The localized string displayed by the button used by default for the default collapsed representation.

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 localized string labelling this item during user customization.

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
The touch bar displayed when this item is "popped."

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
A touchbar to be used exclusively for press-and-hold popovers.

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 true, automatically displays a close button in the popover.

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.


The biggest plugin in space...