ContextMenu.moveItem

Moves item to the given position in the menu.

If position is negative, or is larger than the number of items in the #WebKitContextMenu, the item is added on to the end of the menu. The first position is 0.

class ContextMenu
void
moveItem

Parameters

item webkit.context_menu_item.ContextMenuItem

the #WebKitContextMenuItem to add

position int

the new position to move the item