Currently I have a little issue when it comes to buttons(NSButton) which have a tracking area and views(NSView overlay) above these buttons, this is m ...
Currently I have a little issue when it comes to buttons(NSButton) which have a tracking area and views(NSView overlay) above these buttons, this is m ...
I created a tracking area in NSView that should only track mouse moved events when the window is the key window. However, I noticed that sometimes, wh ...
I am having a hard time using NSTrackingArea to update the cursor to show where my custom draggable NSView can be resized. Here's an example: The NSR ...
I have an NSCollectionView in an NSScrollView. The scroll view scrolls horizontally to move along the line of items. Inside each each collection item ...
I'm trying to present a UI of a title/less window when a mouse leaves a window's title or contentview, but not when moving from one to the other; in e ...
This questions MIGHT exist on a 6 year old post in objective-c. I haven't found a recent answer or question that works, or one that is written in Swif ...
I am trying to find mouse coordinates within an SKScene, however, the moveMouse function is not being called. (This is in a Swift Playground by the wa ...
I have an NSOutlineView that I'd ike to have mouseEntered: and mouseExited: updates during drag and drop. So I've tried to add an NSTrackingArea to it ...
I have created an NSTrackingArea and I am passing a Dictionary in the userInfo argument. This event is successfully received here; How can I rea ...
How can I call my own method when the area defined by NSTrackingArea captures mouse events? Can I specify my own method (e.g. "myMethod") in the NSTra ...
I want to implement a feature that when an user hovers over the specific area, the new view appears with drawer-like animation. And also, when the use ...
I have popover buttons on custom table cell view and when the mouse cursor moves over one cell, these buttons of the cell will be displayed and only t ...
So, I have this mouseEntered event that will make visible a label if I mouse enter a trackingArea. But, depending on which trackingArea was entered I ...
Okay, here is the problem: I have a NSTextView and I add my custom NSButton using: Then, inside my NSButton subclass, I have (along with the NSTrac ...
I subclassed a custom view which I dragged into a window in Interface Builder. As the mouse enters the bounds of the view, I would like the height of ...
Is there a way to set the cursor to a pointing hand over a text view without subclassing NSTextView? I read a lot about NSTrackingAreas, tested a lot ...
I'm trying to change the mouse cursor of a NSTextField in a window sheet, loaded from a NIB. Following the documentation, I have subclassed NSTextFie ...
My problem is that when I'm dragging something in my view, my tracking areas are not detected. I have a text and I've defined some tracking areas so ...
Why mouseExited/mouseEntered isn't called when mouse exits from NStrackingArea by scrolling or doing animation? I create code like this: Mouse enter ...
I have a number of NSImages that I'm rendering in a custom NSView subclass. I'm looking to enlarge theses images as and when the user places their mou ...