Questions tagged [menubar]
A menu bar is a region of a screen or application interface where drop down menus are displayed
997
questions
0
votes
1
answer
42
views
How to implement global menu support in C++ on Linux?
I am working on developing a cross-platform application in C++. We have a menu which uses the global menu on macOS. I wish to use the system-provided global menu on all platforms that have it. KDE has ...
-2
votes
0
answers
16
views
how can I display text in tkinter winwow by clicking a menubar command(label)
**how can I display text in tkinter winwow by clicking a menubar command(label)
how can I display text in tkinter winwow by clicking a menubar command(label)
0
votes
1
answer
86
views
Increase the height / padding of the MenuBarExtra .menu button in SwiftUI
I've been frustrated for some time now trying to figure out how to increase the height of the button in the MenuBarExtra menu for a MacOS app. I've seen another app that has a larger height on these ...
0
votes
2
answers
111
views
Create WinUI3/MVVM Most Recently Used (MRU) List in Menu Bar
I would like to create a classic "Recent Files" list in my Windows app menu bar (similar to Visual Studio's menu bar -> File -> Recent Files -> see recent files list)
The MRU list (...
1
vote
0
answers
26
views
How do I add sliders to the Mac menu bar?
I'm using Swing with Kotlin to make a Tetris clone, and I want to use JSliders in the menu bar to control some settings (in this case, how rounded the edges of the pieces' squares are, and the size of ...
4
votes
1
answer
145
views
MacOS SwiftUI Menu Bar App Settings opening in background
I'm building a macOS menu bar app with SwiftUI's new MenuBarExtra API and running into a bit of an odd issue.
I've implemented a settings window that I can open with the following call:
if #available(...
0
votes
0
answers
39
views
Mobile Menu navigation not working using only CSS
I am making a responsive navigation bar. When i am making it in mobile view with hamburger it is not working. I am using checkbox for this. When someone click the hamburger menu in mobile view the ...
0
votes
0
answers
21
views
Icon and menubar are changing geometry
I want to save the geometry of my tkinter widget in a config file, but I discovered that the combination of an icon and a menubar changes the printed geometry.
In the following code the geometry is ...
5
votes
1
answer
672
views
How to handle lifecycle events for MenuBarExtra in macOS 13 SwiftUI
I'm trying to create a simple menu bar extra in Swift UI using the new MenuBarExtra. I would like the button text in the popover to update dynamically every time the menu is open.
I'm creating the ...
-1
votes
1
answer
43
views
Get the selected item of a dropdown in a custom menu (and run a macro accordingly)
I have this simple menu setup and I am trying to run a macro based on user selection of the label item from a dropdown list. The OnAction only works on the entire dropdown object and not executing ...
0
votes
0
answers
46
views
Jupyter Lab - menu panel is invisible
I recently downloaded jupyter lab in Linux, but found that it doesn't have a menu bar.
This is my screenshot:
screenshot
I tried reinstall jupyter lab but it didn't work.
Can someone help me?
Thanks.
0
votes
0
answers
43
views
How to query browser menubar visibility in Firefox (or other browsers)
I want to check if the Browser Menu Bar is absent.
There is a ReadOnly property:
window.menubar.visible
so this should be as elementary as:
if (window.menubar.visible !== true) {
[... CODE HERE...]...
1
vote
0
answers
76
views
Mac: How to get the status of a status icon on the menu bar of screen?
For a Chinese or Japanese user, we all need to input text other than English. Therefore we have an icon on the menu bar to show what is the current input mode. There are 2 or more icon faces for our ...
0
votes
0
answers
14
views
How to Create UserDefined/Customized Menu in Menubar VSCode Windows
How to add customized menu and drop-down menus in the Menu bar. Currently we can add only in editor/title or Context Menus. Please suggest how we can define user define menu in VSCode UI.
0
votes
1
answer
46
views
Python Tkinter error when calling method from menu bar option
I get the following error when running the display method defined in the Page1 class from the Display option on the menu bar:
'_tkinter.tkapp' object has no attribute 'body_frm'
The method works ...
1
vote
1
answer
101
views
Edit focus of an item from the menu bar on click
I have a menu bar with three items, "home", "settings" and "progress".
When I open the app, the home item is on focus, but when I click on another item, the focus stays ...
0
votes
0
answers
76
views
How to create custom ActivationPolicy of the app?
Original activation policies is:
// The application is an ordinary app that appears in the Dock and may
// have a user interface.
NSApp.setActivationPolicy(.regular)
// The application does not ...
0
votes
1
answer
22
views
Why the menubar is not showing in my tkinter application?
Here is the code:
# -*- coding: utf-8 -*-
import tkinter as tk
class Application(tk.Tk):
def __init__(self):
super(self.__class__, self).__init__()
self.title('test')
...
0
votes
0
answers
118
views
GTK4 Menubar not showing
I'm trying to create a basic menubar. I've tried some sample code found on the internet and nothing seems to work. It all compiles but the menuBar simply doesn't appear when I run the program. The ...
0
votes
2
answers
107
views
navigation bar isn't responsive
This is my HTML and CSS code I want to make the navigation bar responsive but the media query doesn't cooperate It doesn't make any difference. and #menu doesn't make any difference in the first place(...
1
vote
1
answer
134
views
How to create a menubar in SFML application?
I'm trying to write an SFML 2.5.1 programm, but I have faced an issue, I can't find in the internet how to create working programm menubar, witch is located upper window (or upper screen in Mac OS), ...
0
votes
1
answer
145
views
Electron number widget in macOS menubar
I'm currently searching for a way to display number values in the macOS menubar. Tools like iStat Menus 6 show that it's possible to display advanced widgets in the macOS menubar like number values ...
0
votes
0
answers
39
views
XtremeToolkit Menu, Ribbon issue [mfc]
I manually added a Ribbon tab and called it from CMainFrm::OnCreate()
but it's strange that if I did SetMenu(NULL) the line with Quick Access Bar is there.
What is wrong here? Why there are 2 blue ...
0
votes
1
answer
327
views
Flutter menubar
I started with Flutter/Dart and now I'm trying to write a program for Linux. I'm just wondering how to make menubars with Flutter (like in Atom or VSCode). I can't find anything helpful on the ...
3
votes
2
answers
393
views
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 ...
0
votes
2
answers
219
views
Menu bar attached to window. Qt 6 / macOS
I have updated the qt version of Mac program to 6.3 and menubar is now located at the top edge of the window, not native top macOS bar. How to move the menu to the top of macOS screen next to the '...
0
votes
0
answers
346
views
SwiftUI MenuBar App with Assertion on @main
I have a SwiftUI Menu Bar App with no visible Windows on startup, except an entry in the Menu Bar with a Button showing a View on click.
This works great, but sporadically, the App throws an assertion ...
0
votes
1
answer
69
views
React NW.js menubar setup crash
I created a React NW.js application using the npx create-nw-react-app ... command line. I'm working in a Linux environment. So far, so good. I managed to make it work with some custom configuration ...
1
vote
0
answers
36
views
menuBar not displayed in windows qt
I have mainwindow.ui where need to use menubar and toolbar on my Windows 10OS.So I made in GUI menubar an toolbar, but when program runs they not appear.
mainwindow.ui
running mainwindow
Code of ...
1
vote
2
answers
473
views
PrimeVue3 Menubar set item to align right
I have a prime vue menubar with 3 tabs that align to the left
HTML
<Menubar :model="items" />
.vue file
export default {
data() {
return {
items: [
...
0
votes
1
answer
118
views
Menu Bar Popover is missing from application's elements tree on macOS
I'm currently trying to write simple UI Tests for an App that comes with a popover in the macOS menu bar. One of the tests is supposed to open the menu bar popover and interact with its content. The ...
0
votes
2
answers
211
views
GTK3 MenuItem checkbutton + icon?
A piece of GTK software in my company features a menubar with some menu items in the menu bar being check buttons, and/or having an icon beside their label. However the menu is created using Gtk....
0
votes
0
answers
18
views
dojo dijit menubar submenu hover problems
I'm using dojo menubar and I want the submenus to pop-up onmouseover and disappear onmouseout.
Right now the hiding and showing behavior is based on a click.
Is there anyway to get it to hover on ...
0
votes
1
answer
129
views
Menu bars of Tkinter in Mac aren't working
I am trying to learn tkinter and am on the menubars part. I am creating a simple GUI window and trying to display the menu bar. But it is not displaying there. In manY places they say that the menu ...
0
votes
1
answer
584
views
SwiftUI macOS Menu Bar app copy and paste into text field
*EDIT: So I figured it out. It might not be the swiftUI way about doing it but it works for my app. I found this post that answered most my questions. I created a new file used the mainMenu view ...
1
vote
0
answers
120
views
How can i remove my application from Dock?
I created an Application with Swift in AppCode by Jetbrains. The app should be operated only in the menu bar. So i tried to remove it an added the entry Application is agent (UIElement) to YES as ...
0
votes
1
answer
89
views
Uwp MenuBaritem click event Makes nothing happen
Don't get mad at me, I'm very amateur but I have been working on this for a long time and I can not figure it out. I have been working on this uwp text editor and I have added a MenuBar with some ...
0
votes
0
answers
291
views
PrimeNG 11.4 menu bar align items on the right
I spend almost 2 hours trying to figure out how to align items on the right.
I tried 'text-align', 'flex' and everything I know, maybe I'm just using my css on the wrong class.
The version of primeng ...
1
vote
0
answers
23
views
How can I apply Menu functionalities to buttons in WIN-PROLOG,
I am trying to build a toolbar in WIN-PROLOG and I am having some problems on giving functionalities to the buttons.
I want to have buttons that have the same functionalities that items in the menu ...
1
vote
0
answers
123
views
How to change Python menu bar app logo black and white based on Mac menu bar light or dark?
I want to make a Python menu bar application using the rumps package, but I want to make my menu bar logo change from black and white based on the Mac menu bar color, is there any way to accomplish ...
0
votes
1
answer
101
views
Implementing custom bottom tab navigator flutter
I am trying to implement a custom bottom tab navigator by doing step by step from this source: https://medium.com/coding-with-flutter/flutter-bottomappbar-navigation-with-fab-8b962bb55013. It uses the ...
0
votes
1
answer
80
views
How can I prevent tabs menu on visual code?
My menu bar on visual code is hidden, I would like to know how can I get it back please.
0
votes
0
answers
76
views
Is the Tk menu -underline option working on Windows?
I am working on a menubar using Tcl/Tk 8.6.12 running on Windows 11. When I create a command menu item, the character referenced by the -underline index option is supposed to appear underlined and ...
0
votes
0
answers
94
views
PySide Widget grabbing keyboard, blocks MainWindow with MenuBar from being moved on raspbian
i got a main window in PySide2 on Raspbian. The window contains a QLineEdit, which grabs the keyboard, and a menu bar with a single menu/action. When starting the app everything works fine. But as ...
0
votes
1
answer
71
views
How to add a menu bar to a Tk() container in python
I am trying to design a window with a menu bar on top with the controls Add Client,Print Client Lists and Exit. I have imported all required elements from the tkinter library and created a new ...
0
votes
1
answer
146
views
QT Signals and Slots, dynamic menubar
I am new to qt and I want to know how to make a dynamic menu.
I did get it to make new submenus but I don't know how I can implement the "triggered() function" of these dynamic made submenus,...
0
votes
2
answers
1k
views
How can I hide the menubar from an Electron app?
I recently started making a desktop app with Electron, and staring at that menu bar that's always there at the top is getting annoying.
So, I went online and scoured the web for a good solution - but ...
0
votes
0
answers
162
views
How to set the JMenubar in Titlebar?
I see many IDE or apps which have the menubar in the Titlebar itself between the icon and the title name. I just want to replicate it in Java using swing. I searched in Google but results were just ...
1
vote
2
answers
256
views
Can I change the menubar text after press a button? (Python, tkinter)
I started with python a month ago and I'm practicing different stuff. Right now I'm building a calculator and I'm adding a day/night mode switch on menubar. That was easy. But I'd like my menubar to ...
-1
votes
1
answer
224
views
How do I add icons to a menubar in uwp
I am trying to make an uwp app, which has a menubar, although I would like to add icons to it(not to it's menuflyoutitems), like a mac os menubar has icons on the right-hand side. I am trying to ...