Questions tagged [menubar]

A menu bar is a region of a screen or application interface where drop down menus are displayed

a horizontal bar, typically located at the top of the screen below the title bar, containing drop-down menus. MenuBar Looks like

1020 questions
6
votes
1 answer

Creating 1Password-like macOS menubar app

I am trying to create a macOS menubar app which will have a text field as the first item. The textfield will serve as a search bar for filtering other items which will be displayed below it. It should look very similar to 1password: This is what I…
Jerguš Lejko
  • 610
  • 4
  • 25
6
votes
2 answers

Prevent error "funk" sound in event monitor OS X

I'm writing an app in swift that lives in the menu bar at the top of the screen. I need both a global and local event monitor to open the popover on a specific key press. There is no problem with the local event monitor, but when the user hits the…
xandermonkey
  • 4,054
  • 2
  • 31
  • 53
6
votes
4 answers

Detect if menu bar is hidden or visible

Is there a way in Cocoa to receive a notification (or something similar) when the menu bar becomes hidden or visible? I tried looking around and have not found any information on this topic. Thanks
Matthew S.
  • 711
  • 1
  • 5
  • 22
6
votes
3 answers

Remove menubar from Finder in Electron on OSX

I purchased a new macbook and I am now working on getting my apps to run on a 64bit mac. However I haven't been able to remove the default menubar. Is there anyway to change my app name from Electron to something else within Electron via app.js so…
Michael Schwartz
  • 8,153
  • 14
  • 81
  • 144
6
votes
2 answers

How to make a menubar app look good with "Dark Mode" in Yosemite?

While developing a menubar app, I am having a hard time finding the preferred method for making the app actually look good. I would have thought that Apple controls would have essentially handled this for the most part, but it appears not. What is…
ylluminate
  • 12,102
  • 17
  • 78
  • 152
6
votes
2 answers

Qt creator, insert custom menu at specified place into menu bar

I have created a menu bar and some menus with Qt creator. One of the menus had to be coded to use QActionGroup features. Now it is easy to add my custom menu to the menu bar with: printMenu = menuBar()->addMenu(tr("&Print")); but my menu will be in…
Linoliumz
  • 2,381
  • 3
  • 28
  • 35
6
votes
3 answers

Trouble: 'PrincipalViewController' does not have a member named 'revealViewController' in swift

I am working on a creating a sidebar menu using SWRevealViewController in Swift. Trouble is I get the following error: 'PrincipalViewController' does not have a member named 'revealViewController' The code I am working on is: class…
6
votes
3 answers

How to add OSX menu bar icon with wxPython

I would like to add an icon to the OSX menu bar at the top of the screen using wxPython. I have tried wx.TaskBarIcon, which adds a System Tray icon in Windows, but this doesn't work - it changes the Dock icon for the app instead. Does anyone know…
codebox
  • 19,927
  • 9
  • 63
  • 81
6
votes
2 answers

Tkinter - How to create submenus in menubar

Is it possible? By looking at the options I'm stumped. Searching on the web hasn't lead me anywhere. Can I create a submenu in the menubar. I'm referring to doing something similar to Idle Shell when I click on File and go down to Recent Files and…
confused
  • 1,283
  • 6
  • 21
  • 37
5
votes
1 answer

Programmatically adding "Open Recent' menu to context popup menu

I have a non-document Cocoa application with a menubar icon and status menu. I've added an "Open Recent" menu to the status menu in Interface Builder. Populating the menu works just fine: [[NSDocumentController sharedDocumentController]…
Mark
  • 6,647
  • 1
  • 45
  • 88
5
votes
1 answer

How do I create a template image-based and PDF-based icons for MacOS?

Summary I'd like to create a template image-based and/or PDF-based icon for a keyboard layout that would switch colors according to dark/light mode in MacOS Mojave when displayed in the menu bar. Background I've created a customized keyboard layout…
Orius
  • 1,093
  • 5
  • 11
5
votes
1 answer

Remove the Emacs menu bar

I tried Prelude - WikEmacs, Every time I open emacs, there is a menu bar at the top: File Edit Options Buffers Tools Emacs-Lisp Prelude Projectile Help How can I remove it or prevent it from being shown?
user10726006
  • 265
  • 4
  • 7
5
votes
0 answers

How can I make a Mac application having an icon only in the menu bar?

I'm very new to developing for the Mac, and I'm trying to write a Cocoa application whose only presence is in the system menu bar, and does not appear in the Dock. Dropbox, Alfred, and Quicksilver do this (or can be configured to do this). Thank…
Eric Naeseth
  • 2,293
  • 2
  • 19
  • 18
5
votes
2 answers

How to disable mnemonic for JavaFX MenuBar?

In my stage I have inserted a menubar at the top like usual for programs. I want to give the ALT key (together with arrow keys) some logic in another context within the stage. But everytime I press ALT and arrows I unintentionally navigate through…
Arceus
  • 520
  • 6
  • 16
5
votes
1 answer

JavaFX Mac Menu Name

I've been using JarWrapper to make a Mac OS X application bundle that contains a bundled JRE. When I run the application, the menubar name is correct, however the menu items within contain the class name (see screenshot below): I am using…
Salman Arif
  • 105
  • 5