Le Tue, 24 May 2011 10:31:40 +1200,
"Gavin Lambert" <gav...@compacsort.com> a écrit :

> Quoth Maxime de Roucy:
> >      * Signal emitted when policy for one or both of the scrollbars
> > of
> >      * the view has changed. The default handler will apply the new
> >      * policy to the container that holds the #WebKitWebFrame if it
> > is
> >      * a #GtkScrolledWindow and the frame is the main frame. If you
> > do
> >      * not want this to be handled automatically, you need to handle
> >      * this signal.
> [...]
> > So it seams it is now impossible to use webkit without a scrollbar.
> 
> Did you try handling that signal, like it says?
> 
> 

Yes I tried, but as the it said :
* The exception to this rule is that policies to disable the
* scrollbars are applied as %GTK_POLICY_AUTOMATIC instead, since
* the size request of the widget would force browser windows to
* not be resizable.

So if I handle the signal and set the gtkscrolledwindow policy to
GTK_POLICY_AUTOMATIC. The result is the same, scrollbar appear :
They are GTK scrollbars, not webkit, but their is no difference for the
end user (for what I saw).

If I handle the signal and set the gtkscrolledwindow policy to
GTK_POLICY_NEVER. The scrollbar does appear but the window is
automatically resized by the webkit webview to fit the whole web page.
Which isn't what I want.

So : It seams it is now impossible to use webkit without a scrollbar.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

Reply via email to