MenuItem.getSubmenu

Gets the submenu underneath this menu item, if any. See Menu.itemSetSubmenu.

class MenuItem
getSubmenu
()

Return Value

Type: Widget

submenu for this menu item, or NULL if none