Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSToolbarItemMBS class.
NSToolbarItemMBS.NSToolbarCloudSharingItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 21.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
It validates itself and modifies its appearance by using the NSCloudSharingValidation protocol. It sends performCloudSharing to the firstResponder.
Requires macOS 10.12 or newer.
NSToolbarItemMBS.NSToolbarCustomizeToolbarItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Customize item. Shows the customization palette.
Deprecated. In OS X v10.7 and later the customization icon has been removed from the toolbar and customization palettes. This constant is ignored.
NSToolbarItemMBS.NSToolbarFlexibleSpaceItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Flexible Space item.
Some examples using this method:
NSToolbarItemMBS.NSToolbarPrintItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Print item. Sends printDocument to firstResponder, but you can change this in toolbarWillAddItem if you need to do so.
NSToolbarItemMBS.NSToolbarSeparatorItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Separator item.
Some examples using this method:
NSToolbarItemMBS.NSToolbarShowColorsItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Colors item. Shows the color panel.
NSToolbarItemMBS.NSToolbarShowFontsItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Fonts item. Shows the font panel.
NSToolbarItemMBS.NSToolbarSidebarTrackingSeparatorItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 21.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Requires macOS 11.0 or newer.
NSToolbarItemMBS.NSToolbarSpaceItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The Space item.
NSToolbarItemMBS.NSToolbarToggleSidebarItemIdentifier as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Toolbar | MBS MacControls Plugin | 21.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
It sends toggleSidebar to the firstResponder.
Requires macOS 10.11 or newer.
The items on this page are in the following plugins: MBS MacControls Plugin.