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
.
精彩评论