Eine Menüleiste enthält eine Aufreihung von Auswahlmenüs. Sie befindet sich üblicherweise am oberen Rand eines primären Fenster, unterhalb von dessen Titelleiste.
Menu bars increase the vertical footprint of an application’s user interface, introduce a large number of disclosure points, and function as a fixed set of inflexible options. For these reasons, header bars and header bar menus are generally recommended over menu bars, along with other design patterns for exposing controls on demand, such as selection mode, action bars, and popovers.
At the same time, it can be appropriate for complex applications that already include a menu bar to retain it. Additionally, some platforms also incorporate space for a menu bar in their user environment, and a menu model can be desirable for cross-platform integration purposes.
Die Menüleiste ist normalerweise ständig sichtbar und mit der Tastatur kann immer darauf zugegriffen werden. Daher sollten Sie alle in Ihrer Anwendung verfügbaren Befehle auch in der Menüleiste verfügbar machen. (Diese Richtlinie bezieht sich nur auf Menüleisten – andere Menüs sollten keine Funktionalität reproduzieren, die über andere Bedienelemente erreichbar sind.)
Treat application menus as part of the menu bar - it is not necessary to reproduce items from the application menu in other menus.
Do not disable menu titles. Allow the user to explore the menu, even though there might be no available items on it at that time.
Menu titles on a menubar are single words with their first letter capitalized. Do not use spaces in menu titles, as this makes them easily-mistaken for two separate menu titles. Do not use compound words (such as
Bieten Sie besser keine Möglichkeit an, die Menüleiste zu verbergen, da dies unabsichtlich aktiviert werden könnte. Einige Benutzer könnten dann nicht mehr in der Lage sein herauszufinden, wie sie die Menüleiste wieder aktivieren können.
GtkMenu
GtkMenuBar
GtkMenuItem
GtkRadioMenuItem
GtkCheckMenuItem
GtkSeparatorMenuItem