PopupMenu.addSubmenuItem

Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index.

struct PopupMenu
@nogc nothrow
void
addSubmenuItem
(
StringArg0
StringArg1
)
(
in StringArg0 label
,
in StringArg1 submenu
,
in long id = -1
)

Meta