[webkit-gtk] How to invoke WebInspector without selecting Context Menu from GtkLauncher?

Gustavo Noronha Silva gns at gnome.org
Thu Oct 18 06:51:36 PDT 2012


Hey,

On Seg, 2012-10-08 at 13:55 +0000, debojyoti.pal at wipro.com wrote:
> I am running webkit GtkLauncher in an embedded target, where no mouse
> would be used. Now I would like to invoke Web Inspector in that
> system. Is there any way to invoke that Web Inspector without
> selecting context menu? 

GtkLauncher is not a supported browser, it's just a test/sample, so bear
that in mind.

> Is there any webkitwebview or webkitwebinspector API to directly
> invoke Web Insoector?

There are 2 APIs you can use. One takes a coordinate and the other one
takes a DOM element. Here:

http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebInspector.html

Cheers,

-- 
Gustavo Noronha Silva <gns at gnome.org>
GNOME Project



More information about the webkit-gtk mailing list