The same way you do for any other menu item. Double-click the popup
in IB, select a menu item, and use the Inspector to set a shortcut.
Bear in mind that anything in the main menu bar with the same
keyboard combination will override it.
Mike.
On 5 Mar 2007, at 08:02, email@hidden wrote:
Hello all,
I have a question on pop-up menus (class NSPopUpButton) : how do you
implement
a "shortcut" for a given item of such a menu (exactly as ?+D directly
selects the
"Desktop" item in a save menu) ?
Ewan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com