Re: Associating object with NSPopupMenu items
Re: Associating object with NSPopupMenu items
- Subject: Re: Associating object with NSPopupMenu items
- From: Amar Sagoo <email@hidden>
- Date: Mon, 25 Oct 2004 23:20:14 +0100
Have a look at NSMenu's delegate methods.
I haven't used this myself, but it looks like you can effectively make
the delegate a data source by implementing methods like
numberOfItemsInMenu: and menu:updateItem:atIndex:shouldCancel:
Amar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden