dynamic NSPopUpButton
dynamic NSPopUpButton
- Subject: dynamic NSPopUpButton
- From: Jake <email@hidden>
- Date: Tue, 6 Nov 2001 00:35:56 -0500 (EST)
Is it possible to dynamically change the menu associated with
NSPopUpButton?
For example: first I create 3 Menus
NSMenu *m1;
NSMenu *m2;
NSMenu *m3;
instead of mucking with adding and removing menuItems in the menu of
NSPopUpButton, is it possible to just install the entire menu from one of
the 3 created above?
I see an accessor "- (NSMenu *)menu()" in the NSPopUpButton API. Is there
such a thing as "setmenu"?
Jake