Global Variable

NSToolbarWillAddItemNotification

Posted before a new item is added to the toolbar.

Declaration

NSNotificationName NSToolbarWillAddItemNotification;

Discussion

The notification item is the NSToolbar object having an item added to it. The userInfo dictionary contains the following information:

Key

Value

@"item"

The NSToolbarItem object being added.

See Also

Notifications

NSToolbarDidRemoveItemNotification

Posted after an item is removed from a toolbar.