[webkit-gtk] How to find focused node
mwas
webkit.meister at gmail.com
Tue Feb 2 04:10:31 PST 2010
Hi,
try with focusedFrame instead
Frame *frame = page->focusController()->focusedOrMainFrame();
thanks
Wajahat
On Tue, Feb 2, 2010 at 3:50 PM, Jaroslav Klaus <jaroslav.klaus at gmail.com>wrote:
> Hi
>
> How could I find focused node? I usually use
> m_frame->document()->focusedNode() but it doesn't work for gmail's input
> fields for some reason.
>
> When I click to search input field in gmail main page (the one after login)
> I get no node focused while I get focused input text field node in gmail
> login page or google web page.
>
> If I type and see cursor in input field it should be focused, shouldn't
> it?
>
> Thx.
> jaroslav
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20100202/5e17abc8/attachment.html>
More information about the webkit-gtk
mailing list