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
3
votes
2 answers

How do i display my MenuBar across all my scenes in JavaFX

I am new to JavaFX I wrote this code however, I dont know how to Display the Menu Bar in all my Scenes. Also I would like to create/fill my scenes with the Layout in my HelloApplication (however thats another issue). I have a controller, for setting…
lenieve
  • 33
  • 3
3
votes
1 answer

Detect click on OS X menu bar?

I'm curious if there's a trick to detecting a click on the Menu Bar as a whole. I know I can detect a click on an NSStatusItem or NSMenu, but I am looking for events pertaining to the empty space of the Menu Bar. Looking through the documentation,…
akaru
  • 6,299
  • 9
  • 63
  • 102
3
votes
1 answer

GTK+ menu bar looks terrible

I'm writing a Gtk+ menu bar following the instruction here. When packing the bar onto a VBox with // "FALSE, TRUE" and "FALSE, FALSE" actually makes no difference gtk_box_pack_start(GTK_BOX(main_vbox), menu_bar, TRUE, FALSE,…
wecing
  • 534
  • 1
  • 3
  • 19
3
votes
1 answer

Javafx Menu - Text under icon

In my JavaFX project, I am trying to add an icon on Menu(mnAdmin) in the MenuBar using the CSS code below #mnAdmin > .label { -fx-graphic: url("../images/Admin-icon32.png"); } and am getting the icon beside the text and I would like…
Renoj Joseph
  • 93
  • 10
3
votes
0 answers

Cross-platform Gtk3 app, menu bar unresponsive at first

I'm writing a cross-platform Gtk3 application in C++. Lately I've been working on the integration with MacOS: Gtkmm 3.24 obtained via Homebrew; XCode 12.0; MacOS Catalina 10.15. I have derived my application class from Gtk::Application. The…
3
votes
1 answer

Set menubar icon from ViewController

How to change the menubar icon of a MacOS app from another ViewController? AppDelegate.swift (inits menubar icon) ViewController.swift (tries to set menubar icon ❌) I found this but this isn't changing the menubar icon for me: Mac: How to save…
Mikeumus
  • 3,570
  • 9
  • 40
  • 65
3
votes
2 answers

How to display my app's icon (programmatically) on the top right corner of the Mac OS X menu bar

I know Skype does it - they have a special icon register to there. And then when user click on the icon, a drop down menu will appear...
tom
  • 14,273
  • 19
  • 65
  • 124
3
votes
2 answers

Highlighting Menu Bar in ASP.NET Web Application

I built a web application using ASP.NET Visual Studio 2010 with Master Pages. As you will see that the project gives us a default menu bar item. I have 5 pages (links) listed on those menu bars. Now when a user goes to a specific page I want to…
RG-3
  • 6,088
  • 19
  • 69
  • 125
3
votes
1 answer

How can I disable the shadow dropping behind a sub-menu in GWT MenuBar?

I created a MenuBar with collapsing sub-menus using Googles GWT like in this example: GWT Showcase MenuBar Hovering over a MenuItem opens a sub-menu if defined. The sub-menu drops a non-css3 shadow, which doesn't fit into my ui design, because I'm…
proximus
  • 689
  • 7
  • 20
3
votes
1 answer

Accelerators not working in Python Tkinter : How to fix

I am adding accelerators to a button in the TOPLEVEL menu bar in tkinter for a to a project in python I have been working on lately, and after doing some research, I found a site explaining how to accomplish this. Unfortunately, this does not…
user11375018
3
votes
1 answer

QtabWidget and QMainWindow in one class

Is there a way to define the menubar in a QtabWidget class ? I wrote a code for a destopapplication with pyqt5 and python 3.6. I would like to set the manuBar in the same class as the Tabs but my code returns qtabwidget has no attribute…
Mady
  • 443
  • 7
  • 19
3
votes
2 answers

SWT Actions with Keyboard Shortcuts... without having to add them to the menu

We currently have implemented a lot of SWT Actions, because it is a nice way to bind a single command to be added to the menubars and toolbars, and to have Keyboard Shortcuts for these commands. Now... how can I register an Action in plain SWT/JFace…
Daniel
  • 27,718
  • 20
  • 89
  • 133
3
votes
1 answer

How to disable the default open menu effect in Flex?

By default in Flex 3.2, clicking on an item in a MenuBar navigator results in a menu rolling out over a small period of time. How would I disable this and make the menu pop out instantly? Thanks!
user12163
3
votes
1 answer

MenuBar widget in Vaadin Flow (Vaadin 10) missing?

Vaadin Framework (Vaadin 8) offers a MenuBar widget, as discussed in the manual, and shown in the Sampler. When I switch the manual to "Vaadin 10" mode, I cannot find the MenuBar widget. I know Vaadin 10 (Vaadin Flow) is a major re-write of Vaadin,…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
3
votes
2 answers

How to create a menu-bar in a QMainWindow

I am writing a small application using PyQT. I am trying to create a menu bar at the top of the application containing the usual options ("File", "Edit", "Options" etc.) but my toolbar is not appearing when I try to add it to my QMainWindow class. I…
Thalamus
  • 167
  • 2
  • 10