开发者

Writing Custom Menubar Extra

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜