Re: Way to determine size of a menu?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com On 1-Jan-07, at 20:33 PM, Mitchell Livingston wrote: Cheers, Patrick _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... Thanks. Right now I subclass NSButton. How would I do it with NSPopUpButton. As I understand it, that class will take the first item in the menu and display that (and not show it in the list). How can I get it to show the gear icon all the time? NSPopUpButton will act as a pullDown button (so with the desired behaviour) when you set -setPullsDown: to YES. http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/ Concepts/HowPullDownListsWork.html This email sent to site_archiver@lists.apple.com
participants (1)
-
PGM