objective c - NSMenu click in OS X -


how can detect when menu in menu bar clicked? mean when whatever clicked example "file" menu not concrete position in menu.

i tried connect ibactions menu items in interface builder code, not work main menu item "file" submenus within menu

first of all, trying achieve in big picture? perhaps knowing when menu bar has been clicked not best approach.

you might able achieve you're interested in observing nsmenudidbegintrackingnotification notification, it's hard tell. example, fire keyboard-initiated tracking, too.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

ios - Change Storyboard View using Seague -

verilog - Systemverilog dynamic casting issues -