set_submenu


Description:

public void set_submenu (Menu? submenu)

Sets or replaces the menu item’s submenu, or removes it when a null submenu is passed.

Parameters:

this

a MenuItem

submenu

the submenu, or null