Method

WebKit2ContextMenuget_item_at_position

Declaration [src]

WebKitContextMenuItem*
webkit_context_menu_get_item_at_position (
  WebKitContextMenu* menu,
  guint position
)

Description [src]

Gets the item at the given position in the menu.

Parameters

position guint
 

The position of the item, counting from 0

Return value

Returns: WebKitContextMenuItem
 

The WebKitContextMenuItem at position position in menu, or NULL if the position is off the end of the menu.

 The data is owned by the instance.