Le 29/09/2012 02:26, Bruce a écrit :
> Morning all,
>
> Does anyone know a way to get the html element under the mouse pointer
> in the webview on a MouseDown or MouseUp event?  I have been through
> much of the webkit site and the w3schools javascript site and can't find
> anything that seems to offer this.
>
> tia
> Bruce
>

At the moment gb.qt4.webkit don't provide any access to the underlying 
DOM and HTML structure of the page.

You can only use the WebView.HitTest() method to know if the mouse is on 
an image, a selected contents, an editable contents or a link, and in 
that last case you can get the link URL.

Some work could be done there. Do you really need a full access to the DOM?

-- 
Benoît Minisini

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to