[webkit-gtk] Identifying focused child widget in webkit-gtk port's webview->webframe

Gustavo Noronha Silva gns at gnome.org
Thu Apr 22 05:58:17 PDT 2010

On Thu, 2010-04-22 at 17:41 +0530, AshokKumar G wrote:
> When I browse through http://www.yahoomail.com or
> http://www.gmail.com, in these pages we have two fields viz. user name
> text filed and password text filed. Is there any possibility that when
> user name / password filed gets the highlight, a notification should
> be sent to GtkLauncher. I was not able to find the proper signals to
> do this. I used webkit_web_frame_dump_render_tree(WebKitWebFrame*) to
> dump the render tree contents. Could some body help me on this?

There's no API for that on WebKitWeb*, but you can use JavaScriptCore to
set an event listener in those fields, and call a function of yours.
Look at how Epiphany saves/pre-fills passwords in forms, for instance.

See you,

Gustavo Noronha Silva <gns at gnome.org>
GNOME Project

More information about the webkit-gtk mailing list