[webkit-gtk] Backspace key to go back to previous page.

Martin Robinson mrobinson at webkit.org
Mon May 9 09:32:12 PDT 2011


On Sun, May 8, 2011 at 11:37 PM, Deepak Mundra <deepak.m at allaboutif.com> wrote:
> So i wan to handle this situation where if i am entering text in an
> entry in a webpage and if i press backspace it shouldn't take me back
> to previous page.

I believe the solution in this case is to first chain up the to the
WebKitWebView's key press handler. If it handles the key press
(meaning the key was used for something internal to WebKit) then don't
go back.

--Martin


More information about the webkit-gtk mailing list