Cocoa - Capturing NSStatusItem mouse hover event
How do I开发者_JS百科 execute a function when a user's mouse hovers over my NSStatusItem?
If you assign a custom NSView
to your NSStatusItem
's view
property, you can override the NSResponder
methods mouseEntered:
, mouseMoved:
and mouseExited:
.
精彩评论