[webkit-gtk] WK2: WebKitWebViel scrolling

Julian Scheel julian at jusst.de
Fri Jul 27 08:21:43 PDT 2012


Hi,

I am just porting an application which we wrote with WebKit1 gtk API to
the new WebKit2 API. While doing this I ran into some trouble with the
scrolling behaviour. As of WebKit1 the WebKitWebView component did not
seem to be scrollable at all, so one hat to contain it in a
GtkScrolledWindow using a Viewport. Now WebKit2 seems to be scrollable
itself. This would not be a problem, if if would implement the
GtkScrollable interface, which it does not seem to do?
Due to this it is not possible to embed the WebKitWebView in a
GtkScrolledWindow anymore, which prevents us from using the nice
features like kinetic-scrolling which GtkScrolledWindow provides as of
gtk 3.4.
So am I actually missing anything and what I want to do is still
possible? Or should we try to patch the WebKitWebView to implement
GtkScrollable?

Regards,
Julian




More information about the webkit-gtk mailing list