MenuBar
classin packageklyn.gui.windows
public class MenuBar extends 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, styleClass, width, window, x, y
Constructors
Modifier and Type Member Description
public 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, requestFocus, resolvePreferredHeight, resolvePreferredWidth, resolvedFont, setBounds