ContextMenu
Object Hierarchy:
Description:
Represents the context menu in a WebView.
ContextMenu represents a context menu containing ContextMenuItem<!-- -->s in a WebView.
When a WebView is about to display the context menu, it emits the context_menu signal, which has the ContextMenu as an argument. You can modify it, adding new submenus that you can create with ContextMenu, adding new ContextMenuItem<!-- -->s with prepend, append or insert, maybe after having removed the existing ones with remove_all.
Namespace: WebKit
Package: webkit2gtk-4.1
Content:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object