if you are having any parent widget in your body element which embeds other
widgets then you can override a method
onBrowserEvent(Event event){
sinkEvents(eventType); // here you can specify events that you would like to
handle
}
in this way you can receive events that are ignored by the gwt components bt
can be caught by
this method.
--
Aditya
On Fri, Aug 6, 2010 at 6:51 PM, spierce7 <[email protected]> wrote:
> What do you mean by document body?
>
> You might want to look into a DOMHandler. That's how I got mouse move
> handlers to work on my grid. Grid's don't have an obvious method that
> allows you to add a MouseMoveHandler like a lot of other things do
> (grids only have addMouseClickHandler). I'd take a look again at what
> you want to add the handler too and make sure it doesn't have an
> obvious method like that.
>
> Another option is wrapping things in an HTMLPanel, which would allow
> you to add a MouseMoveHandler, etc.
>
> ~Scott
>
> On Aug 5, 10:11 pm, "Randy S." <[email protected]> wrote:
> > I'd like to add a MouseMoveHandler and MouseUpHandler to the
> > document's body, but haven't discovered how. Thanks in advance to
> > anyone who can answer this.
> >
> > -- Randy
>
> --
> 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.