How does Apple update the Airport menu while it is open? (How to change NSMenu when it is already op

Posted by Tegeril on Stack Overflow See other posts from Stack Overflow or by Tegeril
Published on 2010-05-11T04:08:51Z Indexed on 2010/05/11 4:14 UTC
Read the original article Hit count: 352

I've got a statusbar item that pops open an NSMenu, and I have a delegate set and it's hooked up correctly (-(void)menuNeedsUpdate:(NSMenu *)menu works fine). That said, that method is setup to be called before the menu is displayed, I need to listen for that and trigger an asynchronous request, later updating the menu while it is open, and I can't figure out how that's supposed to be done.

Thanks :)

© Stack Overflow or respective owner

Related posts about nsmenu

Related posts about nsmenuitem