[webkit-gtk] How to find focused node
Jaroslav Klaus
jaroslav.klaus at gmail.com
Thu Feb 4 07:09:48 PST 2010
Thank you. That was the problem. It works now.
j.
On 2 Feb 2010, at 13:10, mwas wrote:
> 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/20100204/c26d8afd/attachment.html>
More information about the webkit-gtk
mailing list