ContextMenuItem.newWithSubmenu

webkit.context_menu_item.ContextMenuItem newWithSubmenu(string label, webkit.context_menu.ContextMenu submenu) static nothrow

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.