Menu
class in package klyn.gui.windows

    public class Menu extends Widget:

Widget
└ Menu

A drop-down menu.

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | title `title as String = ""` | No summary.

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 | Menu `Menu(title as String = ""):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | addItem `addItem(item as MenuItem) as Void:` | No summary.
public | items `items() as List<MenuItem>:` | No summary.
public | removeItem `removeItem(item as MenuItem) as Boolean:` | No summary.

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