Re: cocoa dragging and constraining coordinates
Re: cocoa dragging and constraining coordinates
- Subject: Re: cocoa dragging and constraining coordinates
- From: Kyle Sluder <email@hidden>
- Date: Mon, 23 May 2011 11:49:33 -0700
On Mon, May 23, 2011 at 11:40 AM, Seth Willits <email@hidden> wrote:
> If this is the case (I'm not sure either), then you'd do an internal-only drag using normal events, and when then mouse goes outside of the bounds of the view, it starts a an actual drag session. Safari's tabs I think are an example which fit with what he might want to do. You can only drag them horizontally which is done by normal events, and then if you drag too far vertically or of the ends of the window, it pops the tab off to drop elsewhere.
Yeah, but that fails if you are dragging within a scroll view. I'm
thinking of something like OmniGraffle.
--Kyle Sluder
_______________________________________________
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