Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Toolbar
Cocoa classes for toolbars.
- Classes
- class CustomNSToolbarItemMBS
- method Constructor(itemIdentifier as string)
- method Destructor
- event Action
- event allowsDuplicatesInToolbar as boolean
- event validate as boolean
- class CustomNSToolbarMBS
- method Constructor(Identifier as string)
- method Destructor
- event allowsSizeMode(mode as Integer, SuperAllows as boolean) as boolean
- event canBeInsertedAtIndex(itemIdentifier as string, index as Integer) as Boolean
- event itemForItemIdentifier(identifier as string, willBeInsertedIntoToolbar as boolean) as NSToolbarItemMBS
- event toolbarAllowedItemIdentifiers as string()
- event toolbarDefaultItemIdentifiers as string()
- event toolbarDidRemoveItem(item as NSToolbarItemMBS, notification as NSNotificationMBS)
- event toolbarImmovableItemIdentifiers as string()
- event toolbarItemAction(item as NSToolbarItemMBS)
- event toolbarItemAllowsDuplicatesInToolbar(item as NSToolbarItemMBS) as boolean
- event toolbarItemValidate(item as NSToolbarItemMBS) as boolean
- event toolbarSelectableItemIdentifiers as string()
- event toolbarWillAddItem(item as NSToolbarItemMBS, notification as NSNotificationMBS)
- class NSMenuToolbarItemMBS
- method Constructor(itemIdentifier as string)
- property menu as NSMenuMBS
- property showsIndicator as Boolean
- class NSSearchToolbarItemMBS
- method beginSearchInteraction
- method Constructor(itemIdentifier as string)
- method endSearchInteraction
- property preferredWidthForSearchField as Double
- property resignsFirstResponderWithCancel as Boolean
- property searchField as NSSearchFieldMBS
- property view as NSViewMBS
- class NSToolbarItemGroupMBS
- method Constructor(itemIdentifier as string)
- method Constructor(itemIdentifier as string, images() as NSImageMBS, selectionMode as Integer, labels() as String)
- method Constructor(itemIdentifier as string, titles() as String, selectionMode as Integer, labels() as String)
- method SetSubItems(items() as NSToolbarItemMBS)
- method subitems as NSToolbarItemMBS()
- property controlRepresentation as Integer
- property selectedIndex as Integer
- property selectionMode as Integer
- property Selected(index as Integer) as Boolean
- event Action
- class NSToolbarItemMBS
- method Constructor(Handle as Integer)
- method Constructor(itemIdentifier as string)
- method copy as NSToolbarItemMBS
- shared method NSToolbarCloudSharingItemIdentifier as string
- shared method NSToolbarCustomizeToolbarItemIdentifier as string
- shared method NSToolbarFlexibleSpaceItemIdentifier as string
- shared method NSToolbarInspectorTrackingSeparatorItemIdentifier as string
- shared method NSToolbarPrintItemIdentifier as string
- shared method NSToolbarSeparatorItemIdentifier as string
- shared method NSToolbarShowColorsItemIdentifier as string
- shared method NSToolbarShowFontsItemIdentifier as string
- shared method NSToolbarSidebarTrackingSeparatorItemIdentifier as string
- shared method NSToolbarSpaceItemIdentifier as string
- shared method NSToolbarToggleInspectorItemIdentifier as string
- shared method NSToolbarToggleSidebarItemIdentifier as string
- shared method NSToolbarWritingToolsItemIdentifier as string
- method possibleLabels as String()
- method setPossibleLabels(Labels() as String)
- method validate
- property allowsDuplicatesInToolbar as boolean
- property autovalidates as boolean
- property backgroundTintColor as NSColorMBS
- property Bordered as Boolean
- property ClassName as String
- property ClassPath as String
- property Enabled as boolean
- property Handle as Integer
- property Hidden as Boolean
- property image as NSImageMBS
- property itemIdentifier as string
- property label as string
- property MaxSize as NSSizeMBS
- property menuFormRepresentation as NSMenuItemMBS
- property MinSize as NSSizeMBS
- property Navigational as Boolean
- property paletteLabel as string
- property Style as integer
- property tag as Integer
- property Title as String
- property toolbar as NSToolbarMBS
- property toolTip as string
- property view as NSViewMBS
- property visibilityPriority as Integer
- class NSToolbarMBS
- method centeredItemIdentifiers as String()
- method Constructor(Handle as Integer)
- method Constructor(Identifier as string)
- method insertItemWithItemIdentifier(identifier as string, atIndex as Integer)
- method itemIdentifiers as String()
- method items as NSToolbarItemMBS()
- shared method NSToolbarDidRemoveItemNotification as string
- shared method NSToolbarWillAddItemNotification as string
- method removeItemAtIndex(index as Integer)
- method removeItemWithItemIdentifier(itemIdentifier as String)
- method runCustomizationPalette
- method setCenteredItemIdentifiers(Identifiers() as String)
- method validateVisibleItems
- method visibleItems as NSToolbarItemMBS()
- property allowsDisplayModeCustomization as Boolean
- property allowsExtensionItems as Boolean
- property allowsUserCustomization as boolean
- property autosavesConfiguration as boolean
- property configurationDictionary as dictionary
- property configurationDictionaryData as Memoryblock
- property customizationPaletteIsRunning as boolean
- property displayMode as Integer
- property Handle as Integer
- property identifier as string
- property selectedItemIdentifier as string
- property showsBaselineSeparator as boolean
- property sizeMode as Integer
- property toolbarView as NSViewMBS
- property visible as boolean
- class NSTrackingSeparatorToolbarItemMBS
- method Constructor(itemIdentifier as string, splitView as NSSplitViewMBS, dividerIndex as Integer)
- property dividerIndex as Integer
- property splitView as NSSplitViewMBS
- class CustomNSToolbarItemMBS
- Class Extensions
- class DesktopWindow
- method NSToolbarMBS as NSToolbarMBS
- class Window
- method NSToolbarMBS as NSToolbarMBS
- class DesktopWindow
- Blog Entries
Release notes
- Version 25.3
- Added backgroundTintColor and style properties to NSToolbarItemMBS class.
- Version 25.0
- Added NSToolbarWritingToolsItemIdentifier shared method to NSToolbarItemMBS class.
- Version 24.5
- Added allowsDisplayModeCustomization, removeItemWithItemIdentifier and itemIdentifiers methods to NSToolbarMBS class.
- Added centeredItemIdentifiers method to NSToolbarMBS class.
- Added Hidden property to NSToolbarItemMBS class.
- Added more methods and properties to NSToolbarItemGroupMBS class.
- Added NSMenuToolbarItemMBS class.
- Added NSSearchToolbarItemMBS class.
- Added NSTrackingSeparatorToolbarItemMBS class.
- Added possibleLabels, copy, NSToolbarToggleInspectorItemIdentifier and NSToolbarInspectorTrackingSeparatorItemIdentifier methods to NSToolbarItemMBS class.
- Added toolbarImmovableItemIdentifiers and canBeInsertedAtIndex events to CustomNSToolbarMBS class.
- Deprecated fullScreenAccessoryView, fullScreenAccessoryViewMinHeight, fullScreenAccessoryViewMaxHeight and centeredItemIdentifier properties for NSToolbarMBS class.
- Deprecated NSToolbarSeparatorItemIdentifier and NSToolbarCustomizeToolbarItemIdentifier in NSToolbarItemMBS class.
- Version 21.2
- Added more methods to NSToolbarItemMBS and NSToolbarMBS classes.
- Version 21.1
- Added Constructor for handle to UNNotificationMBS, UNNotificationContentMBS, NSToolbarItemMBS and NSToolbarMBS.
- Version 17.5
- Improved NSToolbarMBS.toolbarView to work on 64-bit.
The items on this page are in the following plugins: MBS MacControls Plugin.