ContextMenu
Represents the context menu in a #WebKitWebView.
#WebKitContextMenu represents a context menu containing #WebKitContextMenuItems in a #WebKitWebView.
When a #WebKitWebView is about to display the context menu, it emits the #WebKitWebView::context-menu signal, which has the #WebKitContextMenu as an argument. You can modify it, adding new submenus that you can create with webkit_context_menu_new(), adding new #WebKitContextMenuItems with webkit_context_menu_prepend(), webkit_context_menu_append() or webkit_context_menu_insert(), maybe after having removed the existing ones with webkit_context_menu_remove_all().
Constructors
Functions
Adds @item at the end of the @menu.
Gets the first item in the @menu.
Gets the item at the given position in the @menu.
Gets the user data of @menu.
Inserts @item into the @menu at the given position.
Gets the last item in the @menu.
Moves @item to the given position in the @menu.
Adds @item at the beginning of the @menu.
Removes @item from the @menu.
Sets user data to @menu.