Re: Showing a menu after a delay...?
Re: Showing a menu after a delay...?
- Subject: Re: Showing a menu after a delay...?
- From: Nathan Kinsinger <email@hidden>
- Date: Mon, 1 Feb 2010 16:18:59 -0700
On Feb 1, 2010, at 2:42 PM, Eric Gorr wrote:
> What I am trying to accomplish is displaying a menu (perhaps with NSPopUpButtonCell's performClickWithFrame method) after a user clicks on a sublass of NSButton and holds the left mouse button for >= 1 second.
>
> Is anyone aware of any sample code doing this?
Look at KBPopUpToolbarItem.m
http://www.literatureandlatte.com/freestuff/index.html
--Nathan
http://brotherbard.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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