Try applying the style to a Widget the mouse cursor will certainly hover
above and that is not covered by other Widgets, for example a Button. Make
sure you place the cursor above that Widget.

I'm not sure if this will help, but in case the Style is properly changed on
that Widget it should also be changed on the RootPanel. In that case it may
simply be completely covered and MouseEvents are not propagated to the
RootPanel. I had a similar problem regarding MouseEventHandlers. Anyway I'm
not sure if browser side changes to the cursor icon are based on MouseEvents
so it really is just a suggestions. Give it a try though.

Andreas

2010/6/22 Rodrigo <[email protected]>

> I don't why it doesn't work, but I'd rule out the fact that there's a
> server call in process. That shouldn't affect styling whatsoever.
>
> On Jun 22, 2:06 pm, Iván Navarro <[email protected]> wrote:
> > hi,
> > is there any way to change the cursor (doesn't matter its position on
> > screen or if it is over certain widget) during an operation in the
> > server side?
> >
> > I've tried adding a cursor style to the main panel with addStyleName
> > method, but it doesn't work. I don't know if it is for the server call
> > (in other situations it works properly) or because I only change the
> > cursor for the main panel.
> >
> > Thanks in advance!
> >
> > Iván
>
> --
> 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.
>
>


-- 
Andreas Horst
Sohnreystraße 8, 30173 Hannover
Tel. +49 (0)170 4162251, mailto:[email protected]

-- 
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