NativeEvent nativeEvent = Document.get().createMouseOutEvent(detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget);
MouseOutEvent.fireNativeEvent(nativeEvent, yourWidget); 2010/8/27 darkflame <[email protected]> > 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 [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. > > -- 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 [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.
