Re: altering NSPopupButtons
Re: altering NSPopupButtons
- Subject: Re: altering NSPopupButtons
- From: Shawn Erickson <email@hidden>
- Date: Sat, 18 Feb 2006 13:23:08 -0800
On Feb 18, 2006, at 1:03 PM, Mike Abdullah wrote:
I have a Popup button in my interface, which contains a number of
options the user can pick from. At some stage during the running
of the program, the contents of that popup button may need to change.
So, what is the best way of altering the contents of a popup button
without losing the user's suggestion or affecting the interface too
much?
The docs for NSPopUpButton and NSMenu outline the API for all of
that. Note synchronizeTitleAndSelectedItem provided by NSPopUpButton.
Also review...
<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/
index.html#//apple_ref/doc/uid/10000032i>
-Shawn
_______________________________________________
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