On Aug 27, 11:18 pm, Gal Dolber <gal.dol...@gmail.com> wrote:
> NativeEvent nativeEvent = Document.get().createMouseOutEvent(detail, screenX,
> screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button,
> relatedTarget);
>
> MouseOutEvent.fireNativeEvent(nativeEvent, yourWidget);
>
> 2010/8/27 darkflame <darkfl...@gmail.com>
>
>
>
>
>
> > How would I manually fire a mouseout event?
>
> > I've tried a few things, but I'm clearly not hitting the mark;
>
> > //closeIcon.fireEvent(GwtEvent<MouseOutHandler>);
>
> > //DomEvent.fireNativeEvent( MouseOutEvent.getType(),
> > (HasHandlers)closeIcon);
>
> > //MouseOutEvent.fireNativeEvent(nativeEvent, closeIcon);
>
> > None of those even validate in eclipse, let alone run.
>
> > Basically closeIcon is a widget of unknown form which I want to
> > trigger (or try to) trigger the event on.
>
> > Any ideas?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment