[Gtk-sharp-list] webkit-sharp scroll to anchor

Daniel Hughes trampster at gmail.com
Fri Mar 29 23:40:42 UTC 2013

I have a webkit-sharp webview which I am using to display html via the
LoadString method.

The webview is placed in a ScrolledWindow the ScrolledWindow is placed
in a Gtk Window.

I wan't to be able tot tell the webview to scroll to a specific part
of the html. normally one would do this using an anchor.

I have defined an anchor and some JavaScript to jump to that anchor, I
call the javascript via the ExecuteScript method. This does nothing at

I have also tried adding a button to the HTML that calls the
javascript, this also does nothing.

It there something I can do to make this work, To make it so I can
scroll to a known location in the page.


More information about the Gtk-sharp-list mailing list