Questions tagged [nsstatusbar]

The NSStatusBar class defines an object that manages a collection of NSStatusItem objects displayed within the system-wide menu bar.

The NSStatusBar class defines an object that manages a collection of NSStatusItem objects displayed within the system-wide menu bar. A status item can be displayed with text or an icon, can provide a menu and a target-action message when clicked, or can be a fully customized view that you create.

Use status items sparingly and only if the alternatives (such as a Dock menu, preference pane, or status window) are not suitable. Because there is limited space in which to display status items, status items are not guaranteed to be available at all times. For this reason, do not rely on them being available and always provide a user preference for hiding your application’s status items to free up space in the menu bar.

94 questions
0
votes
1 answer

Why NSStatusBar's text appears and disappears instantly at app start in Yosemite 10.10?

Here is a code how I add a status bar with text: - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { NSStatusBar *bar = [NSStatusBar systemStatusBar]; _statusBarItem = [bar…
Serge
  • 2,031
  • 3
  • 33
  • 56
0
votes
0 answers

NSStatusItem image in not changing

As long as the application is running i need to change the status icon once in 2 sec., i think in my case i have to do it in separate thread. This is my scenario. I have 2 NSObject initialised in my MainMenu.nib. One of them is main controller…
user12345
  • 425
  • 1
  • 3
  • 14
0
votes
1 answer

NSStatusBar App - Window always on top (ignore hot corners)

I'm trying to replicate a behavior found in Evernote's NSStatusBar icon (see image). I have my top left corner - hot corner set to show desktop. This moves all windows away except the evernote menu. How do they accomplish this? I've tried all of…
Kyle Parisi
  • 1,316
  • 1
  • 11
  • 14
0
votes
1 answer

NSStatusBar item glow without the glow image on Xcode

How can i make something like this glow on a status bar item? I know that i can do that with another png, but i have seen some other applications where they only have the black icon of the statusbar, no glow. How can i do that? Thanks
Pedro Vieira
  • 3,330
  • 3
  • 41
  • 76
1 2 3 4 5 6
7