Re: Updating NSMenu while it's open
Re: Updating NSMenu while it's open
- Subject: Re: Updating NSMenu while it's open
- From: vinayak pai <email@hidden>
- Date: Fri, 20 Apr 2012 11:15:11 +0530
System's wifi menu updates while it's open. How to update the menu like this?
On Thu, Apr 19, 2012 at 9:02 PM, Andy Lee <email@hidden> wrote:
> On Apr 18, 2012, at 10:46 PM, Dave DeLong wrote:
>> On Apr 18, 2012, at 7:43 PM, Andy Lee wrote:
>>> [...] Another example is the File menu in some apps such as Safari, TextEdit, and BBEdit. Some menu items change when you hold down the Option key.
>>>
>>> --Andy
>>
>> That's slightly different. That's run by NSMenuItem's "alternate" mechanism. It sounds like what the OP was asking for was dynamically adding and removing NSMenuItems while the menu is open.
>
> Hm! One learns something every day.
>
> Thanks,
> --Andy
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden