klyn.gui.windows.MenuItem.subMenu
property
public property subMenu as Menu = null
Description

Child menu opened from this item.

A menu item with a child menu is a navigation entry rather than a directly executable action.

refactor = Menu("Refactor")
refactor.addItem(MenuItem("Rename..."))
item = MenuItem("Refactor", subMenu=refactor)