[webkit-dev] Focus moving in webkit

xfdbse xfdbse at 163.com
Tue Oct 28 06:10:45 PDT 2008

thanks Marco Barisione, this is helpful.

On Tue, 2008-10-28 at 20:34 +0800, xfdbse wrote:
> I need to be able to use Up, Down, Left and Rigth key to move.
> Now i can simulation Left or Right key to a (shift+)TAB key, and the
> foucs also can be moved, but that not my want.

I had similar problems for the device I was working on, for just using
alternative keys for already provided features you can just modify the
keyboard event, it's hackish but works well.
See key_event_cb in

> as you know , when use TAB key to move focus , the foucs chain looks
> like a "double Linked List" .
> I need the focus can be moved to the any of four directions via Up or
> Down or Left or Right key
> [although i know the Up or Down key used to scroll default].

I implemented it but it's unfinished see

Marco Barisione

webkit-dev mailing list
webkit-dev at lists.webkit.org

More information about the webkit-dev mailing list