setSubmenu

fun setSubmenu(submenu: ContextMenu? = null)

Sets or replaces the @item submenu.

If @submenu is null the current submenu of @item is removed.

Parameters

submenu

a #WebKitContextMenu