WebKit2.ContextMenuItem.prototype.get_submenu

function get_submenu(): WebKit2.ContextMenu {
    // Gjs wrapper for webkit_context_menu_item_get_submenu()
}
  

Gets the submenu of item.

Returns

the WebKit2.ContextMenu representing the submenu of item or null if item doesn't have a submenu.