What kind of widget? If you want to make a composite, you might use a FocusPanel as the outer container. FocusPanel sources click, mouse and mouse wheel events, so you can add your listeners to that, and events from inner elements will bubble up.
If you just want to instrument some arbitrary Widget with mouse events, then extend the Widget, sink the appropriate events when a listener gets attached (late-bound event sinking is the model to follow now), and override onBrowserEvent to look for and handle the new events. Walden On Sep 25, 7:54 am, jamer <[EMAIL PROTECTED]> wrote: > Hi > I want create a widget whith a mouselistener event, and it is not a > extends to DialogBox or Image > How i can? > > Thank you!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
