MenuBar
class in package klyn.gui.windows

    public class MenuBar extends Widget:

Widget
└ MenuBar

Menu bar of a window.

    bar = MenuBar()
    bar.addMenu(Menu("File"))

Properties inherited from Widget: accentColor, backgroundColor, borderColor, bottom, canFocus, cornerRadius, font, foregroundColor, hasFocus, height, isEnabled, isHovered, isManaged, isVisible, layoutParams, margin, maxHeight, maxWidth, minHeight, minWidth, parent, preferredHeight, preferredWidth, right, sizePolicy, styleClass, width, window, x, y
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | MenuBar `MenuBar():` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | addMenu `addMenu(menu as Menu) as Void:` | No summary.
public | menus `menus() as List<Menu>:` | No summary.
public | removeMenu `removeMenu(menu as Menu) as Boolean:` | No summary.

Methods inherited from Widget: blur, containsPoint, paint, repaint, requestFocus, resolvePreferredHeight, resolvePreferredWidth, resolvedFont, setBounds