Tristan
Tristan

Reputation: 3068

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.

Upvotes: 2

Views: 887

Answers (1)

Dave DeLong
Dave DeLong

Reputation: 243146

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.

Upvotes: 5

Related Questions