Standard "combo" button class?
Standard "combo" button class?
- Subject: Standard "combo" button class?
- From: Nicholas Meyer <email@hidden>
- Date: Mon, 19 Mar 2007 16:21:20 -0500
Hello all,
I'm working on the user interface for my first Cocoa application. I'm
curious, is there a standard class for the type of button which sends
an action when clicked OR opens a menu when the mouse button is
pressed and held for a short time (i.e. the Build button in XCode)?
If not, would subclassing NSButton to set an NSTimer on mouseDown:
that shows the menu and short-circuits the button's tracking loop be
the best way to handle it? Or is there a way to subclass
NSPopUpButton that would be easier?
Thanks,
-Nick
_______________________________________________
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