Draggable area of NSPopover
Draggable area of NSPopover
- Subject: Draggable area of NSPopover
- From: email@hidden
- Date: Wed, 12 Aug 2015 17:39:36 -0400
Hi,
I’ve implemented an NSPopover. Currently part of the view is empty, and part contains a graph (of class CPTGraphHostingView, an NSView subclass from Core Plot). When the popover is attached, the entire view is draggable, which means I can’t interact with the plot as the mouse events are being captured. (The cursor changes appropriately when moved over certain graph elements.)
When detached, I can interact with the view as expected. I’m using two instances of the same NSViewController class. I subclassed CPTGraphHostingView to override the “opaque” property to always return TRUE, but this made no difference.
What am I missing to be able to interact with my graph while the popover window is attached?
Thanks,
Demitri
_______________________________________________
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