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
12
votes
5 answers

Height of the apple menubar

I was just wondering how to get the height of the apple menubar, in pixels (the one always on top) (My screen size is 1200 x 800) i was wondering what it would be excluding the menubar.
Samuel
  • 18,286
  • 18
  • 52
  • 88
11
votes
1 answer

NSMenuItem with custom view doesn't receive mouse events

I'm working on a menu bar app, and I'm setting a custom view using NSMenuItem's view property. The view displays ok, but I'm unable to receive any kind of mouse click events for menu items that have open submenus. In this screenshot, I've added a…
SteveB
  • 351
  • 1
  • 4
  • 15
11
votes
6 answers

Missing menuBar in PyQt5

I've been developing a GUI using PyQt5 and wanted to include a menu bar. When I went to code this feature, however, my menu wouldn't appear. Figuring my understanding on how to implement menu bars in PyQt5 was off, I looked for a pre-existing…
user144153
  • 829
  • 1
  • 12
  • 28
11
votes
10 answers

How To Make Reuseable HTML Navigation Menus?

I'm sure this topic comes up all the time, But I can't seem to fine a concise answer. I've got a vertical menu bar that I want to reuse in webpages (>20). The Menu Bar is coded in HTML and uses uses: UL, LI, A,
tags, and CSS. We need…
gio
10
votes
2 answers

How can I add a QLineEdit to Menubar

I am attempting to reclaim some screen real estate in my application. I've got a search bar that is a basic QLineEdit and takes up space. In my menu bar, I easily have enough room to fit this search box, but I can't figure out how to get the…
Andy
  • 49,085
  • 60
  • 166
  • 233
10
votes
1 answer

How do i set the active tab in Primefaces tabView?

I have a menubar in which two items on a submenu, both calling the same page:
Horacio González
  • 135
  • 1
  • 4
  • 9
10
votes
2 answers

Change accesskey modifier keys in Firefox

I'm working on a website where each page has buttons, like "submit" and "cancel". Each of these buttons has an accesskey attribute. The submit button's accesskey attribute is set to S, and the cancel button's accesskey attribute is set to C. Access…
bob marti
  • 1,523
  • 3
  • 11
  • 27
10
votes
2 answers

Angular material menu opening on mouse hover

I'm using Angular Material menubar to show a menu and the sub menu under each menu item. I've added ng-click event to open the submenu. But the menu is still opening on mouse hover on the parent menu item. Not only this, as I have two sub menus, for…
Indranil Mondal
  • 2,799
  • 3
  • 25
  • 40
9
votes
2 answers

How to set the program title in python

I have been building a large python program for a while, and would like to know how I would go about setting the title of the program? On a mac the title of program, which has focus, is shown in the top left corner of the screen, next the apple…
FrederikNS
  • 5,562
  • 2
  • 22
  • 36
8
votes
1 answer

How to use Ubuntu Unity global menu in GTK#?

I'm developing a simple GTK# application(nothing serious, just a little project), and I've noticed my application menu bar is showing in my application window instead of Ubuntu's Unity global menu bar. Is there any way to make the menu bar show up…
luiscubal
  • 24,773
  • 9
  • 57
  • 83
8
votes
2 answers

Need horizontal menu option on mouseover on a particular div

My requirement is to make a horizontal menu in the end of a paragraph where on mouseover a menu should appear On mouse over it should show an option to add an item like this On clicking the add option the menu should appear like this Please…
Prasanth
  • 3,029
  • 31
  • 44
8
votes
1 answer

SwiftUI macOS Commands (menu bar) and View

Hi I am starting to learn SwiftUI and macOS development. I am using the SwiftUI life cycle. How do I call a function from the focused window from the menu bar. Besides Apple documentation, I found this reference and am able to create menu items…
8
votes
1 answer

JavaFX - How to create a thin MenuBar?

I've placed at the top of a BorderPane a MenuBar with a "File" Menu and a "Close" MenuItem inside: How can I make it look thinner like the MenuBars of most of the software I use, similar to the image below? I think it must be simple enough but as…
Kuklin István
  • 315
  • 3
  • 14
8
votes
3 answers

Cocoa application menu bar not clickable

I'm building a menu bar in my cocoa application with the following code in the @implementation of my custom application CustomApplication: +(void) setUpMenuBar { [CustomApplication sharedApplication]; // Main menu NSMenu* mainMenu = [NSApp…
Théo Winterhalter
  • 4,908
  • 2
  • 18
  • 34
8
votes
1 answer

JSF Primefaces using menubar in Layout issue

I have a problem with my JSF Page using Layout. I am trying to position my menubar in the header section of the North positioned layout unit. It positions the menubar correctly.But I need to scroll up or down the layout-unit to click on the menu…
Kanika Prime
  • 105
  • 2
  • 10
1
2
3
67 68