Protocol

NSToolbar​Delegate

The NSToolbar​Delegate protocol defines the optional methods implemented by delegates of NSToolbar objects.

Symbols

Configuring a Toolbar

func toolbar(NSToolbar, item​For​Item​Identifier:​ String, will​Be​Inserted​Into​Toolbar:​ Bool)

Sent to request a new toolbar item; returns a toolbar item of the identified kind for the specified toolbar.

func toolbar​Allowed​Item​Identifiers(NSToolbar)

Sent to discover the allowed item identifiers for a toolbar.

func toolbar​Default​Item​Identifiers(NSToolbar)

Sent to discover the default item identifiers for a toolbar.

func toolbar​Selectable​Item​Identifiers(NSToolbar)

Sent to discover the selectable item identifiers for a toolbar.

Responding to Additions and Deletions in the Toolbar

func toolbar​Will​Add​Item(Notification)

Sent just before a new item is added to a toolbar.

func toolbar​Did​Remove​Item(Notification)

Sent just after an item has been removed from a toolbar.

Relationships

Inherits From