开发者

Display buttons on hover in NSWindow

开发者 https://www.devze.com 2023-03-27 16:17 出处:网络
How can I get the buttons (close, minimize, maximize) to hide when the cursor isn\'t over the window and show themselves when the cur开发者_如何学Gosor is.

How can I get the buttons (close, minimize, maximize) to hide when the cursor isn't over the window and show themselves when the cur开发者_如何学Gosor is.

Basically, I want to duplicate the behavior that Quicktime has.


If you subclass NSWindow you can do it with your own buttons and tracking area.

0

精彩评论

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