开发者

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:.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜