Re: NSSplitView divider tracking-area
Re: NSSplitView divider tracking-area
- Subject: Re: NSSplitView divider tracking-area
- From: Keary Suska <email@hidden>
- Date: Thu, 30 Oct 2014 11:42:40 -0600
On Oct 30, 2014, at 10:45 AM, edward taffel <email@hidden> wrote:
>> AFAIK the tracking area of the split view is not affected by anything in the way you describe, and looking at the disassembly shows nothing out of the ordinary. The delegate has the ability to add to the area, but that's it.
>
> i’m not sure what you mean—i have verified:
> if the NSPanel is key when mousing over the divider, the cursor changes to a resize cursor, as expected; if not key the cursor is unaffected.
A tracking area can choose when to track, and it appears that NSSplitView has chosen to track only when the window is key. You may be able to access the tracking area via the -trackingAreas method and swap it out with one of your own creation, but that is pretty hacky and probably volatile.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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