Global Variable

NSMenuDidSendActionNotification

Posted just after the application dispatches a menu item’s action method to the menu item’s target.

Declaration

NSNotificationName NSMenuDidSendActionNotification;

Discussion

The notification object is the instance of NSMenu containing the chosen menu item. The userInfo dictionary contains the following information.

Key

Value

@"MenuItem"

The menu item that was chosen.

See Also

Notifications

NSMenuDidAddItemNotification

Posted after a menu item is added to the menu.

NSMenuDidChangeItemNotification

Posted after a menu item in the menu changes appearance.

NSMenuDidBeginTrackingNotification

Posted when menu tracking begins.

NSMenuDidEndTrackingNotification

Posted when menu tracking ends, even if no action is sent.

NSMenuDidRemoveItemNotification

Posted after a menu item is removed from the menu.

NSMenuWillSendActionNotification

Posted just before the application dispatches a menu item’s action method to the menu item’s target.