Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSToolbarItemGroupMBS class.
NSToolbarItemGroupMBS.Constructor(itemIdentifier as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Toolbar | MBS MacControls Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
itemIdentifier: The identifier for the receiver. itemIdentifier is never seen by users and should not be localized.
The identifier is used by the toolbar and its delegate to identify the kind of the toolbar item.
NSToolbarItemGroupMBS.SetSubItems(items() as NSToolbarItemMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Toolbar | MBS MacControls Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
subitems: An array of instances of NSToolbarItem objects that form the subitems for the receiver.
You should call this method to set the subitems before returning the item to the toolbar. NSToolbarItemGroup objects cannot contain other NSToolbarItemGroup objects as subitems.
NSToolbarItemGroupMBS.subitems as NSToolbarItemMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Toolbar | MBS MacControls Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
By default, an NSToolbarItemGroup instance has an empty array of subitems.
The items on this page are in the following plugins: MBS MacControls Plugin.