[webkit-gtk] Backspace key to go back to previous page.
deepak.m at allaboutif.com
Mon May 9 21:58:26 PDT 2011
Thanks for the reply,
Even i was thinking something like this. If the key is already handled
by some one else then dont use my handler. If no one has handled this
key then only use my handler. But the question is, how can i check if
the event has been handled already ? Is there any webkit/gtk api
something like IS_EVENT_HANDLED(event) ?
On Mon, May 9, 2011 at 10:02 PM, Martin Robinson <mrobinson at webkit.org> wrote:
> 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.
More information about the webkit-gtk