QMenuBar
QMenuBar is a widget that provides a menu widget for use in menu bars, context menus, and other popup menus.
Example
import { QMenuBar, QMainWindow, QAction } from '@vixen-js/core';
const win = new QMainWindow();
const btn = new QAction(new QIcon("icon.png"), "Your button");btn.addEventListener("onTrigger", () => { console.log("Button clicked");})
const menuBar = new QMenuBar();menuBar.addMenu("File");menuBar.addAction(btn);
win.setMenuBar(menuBar);win.show();
The result of this example is something like this:

Learn more about QMenuBar
in: https://doc.qt.io/qt-6/qmenubar.html