There isn't such a method in GWT.  As far as I know, only IE has a method to
get the currently focused element (document.activeElement).  For other
browsers, you have to use focus/blur handlers to keep track (although maybe
you can do it at the top level for Firefox/Chrome?

Thanks,
John LaBanca
[email protected]


On Mon, Nov 1, 2010 at 12:05 PM, Ice13ill <[email protected]> wrote:

> I searched for a method in GWT to test if a widget is focused or not
> but i couldn't find one.
> Is there a method in the GWT classes or do i have to create a native
> js method ?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to