Method
WebKit2ContextMenumove_item
Declaration [src]
void
webkit_context_menu_move_item (
WebKitContextMenu* menu,
WebKitContextMenuItem* item,
gint position
)
Description [src]
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.
Parameters
item-
Type:
WebKitContextMenuItemThe
WebKitContextMenuItemto add.The data is owned by the caller of the function. position-
Type:
gintThe new position to move the item.