开发者

Writing Custom Menubar Extra

开发者 https://www.devze.com 2022-12-24 18:43 出处:网络
How can I make a Menu Extra like the Battery Meter in Cocoa? I can make a Status Item, but they are not 开发者_运维百科movable.The NSMenuExtra functionality is private API.The best you can do (without

How can I make a Menu Extra like the Battery Meter in Cocoa? I can make a Status Item, but they are not 开发者_运维百科movable.


The NSMenuExtra functionality is private API. The best you can do (without delving into Apple's private frameworks and figuring it out yourself) is to use NSStatusItem.

0

精彩评论

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