ContextMenu

constructor()

Creates a new #WebKitContextMenu object.

Creates a new #WebKitContextMenu object to be used as a submenu of an existing #WebKitContextMenu. The context menu of a #WebKitWebView is created by the view and passed as an argument of #WebKitWebView::context-menu signal. To add items to the menu use webkit_context_menu_prepend(), webkit_context_menu_append() or webkit_context_menu_insert(). See also webkit_context_menu_new_with_items() to create a #WebKitContextMenu with a list of initial items.

Return

The newly created #WebKitContextMenu object


constructor(items: <Error class: unknown class>)

Creates a new #WebKitContextMenu object with the given items.

Creates a new #WebKitContextMenu object to be used as a submenu of an existing #WebKitContextMenu with the given initial items. See also webkit_context_menu_new()

Return

The newly created #WebKitContextMenu object

Parameters

items

a #GList of #WebKitContextMenuItem


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)