ContextMenuItem.newWithSubmenu

Creates a new #WebKitContextMenuItem using the given label with a submenu.

Parameters

labelthe menu item label text
submenua #WebKitContextMenu to set

Returns

the newly created #WebKitContextMenuItem object.