set_submenu


Description:

public void set_submenu (MenuModel? submenu)

Sets or unsets the "submenu" link of this to submenu.

If submenu is non-null, it is linked to. If it is null then the link is unset.

The effect of having one menu appear as a submenu of another is exactly as it sounds.

Parameters:

this

a MenuItem

submenu

a MenuModel, or null