Re: Way to determine size of a menu?
Re: Way to determine size of a menu?
- Subject: Re: Way to determine size of a menu?
- From: PGM <email@hidden>
- Date: Mon, 1 Jan 2007 21:18:46 -0500
On 1-Jan-07, at 20:33 PM, Mitchell Livingston wrote:
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
Cheers, Patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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