[webkit-gtk] Opening default context menu on mouse release

Tomas Popela tpopela at redhat.com
Sun May 21 22:42:21 PDT 2017


Hi,

On Sun, 2017-05-21 at 12:08 +0200, Peter Hofmann wrote:
> How would you show a WebKitContextMenu? I couldn't find a function in
> webkit2gtk's API to directly pop up that menu. I guess I'd have to
> inspect the WebKitContextMenu and build a new Gtk menu on my own.

I think that you can emit the GtkWidget::popup-menu signal on the
WebKitWebView instance to show the context menu.

Tom


More information about the webkit-gtk mailing list