An onResize event. Although I'm getting no luck so far...
On Jul 31, 1:37 pm, Isaac Truett itru...@gmail.com wrote:
What sort of event are you trying to add to HorizontalSplitPanel? A
Composite might make more sense.
On Fri, Jul 31, 2009 at 1:13 PM, max3000maxime.lar...@gmail.com wrote:
And what to do when the widget is final like HorizontalSplitPanel?
(SplitPanel is even package-scoped).
Thanks,
Max
On Jul 30, 2:57 pm, Isaac Truett itru...@gmail.com wrote:
Widgets, at least in the core GWT library, already have methods to add
handlers for events that they support. If
What sort of event are you trying to add to HorizontalSplitPanel? A
Composite might make more sense.
On Fri, Jul 31, 2009 at 1:13 PM, max3000maxime.lar...@gmail.com wrote:
And what to do when the widget is final like HorizontalSplitPanel?
(SplitPanel is even package-scoped).
Thanks,
Max
Hi,
I find it very annoying that one can't add event handlers to widgets
*outside* the widget itself. Am I missing something or is there no way
this can be done elegantly?
I'm thinking something like:
panel.addHandler(ResizeEvent.getType(), new ResizeHandler() {
public void
Widgets, at least in the core GWT library, already have methods to add
handlers for events that they support. If you're adding a custom event
handler for a custom event that's not part of the Widget's API, then
it makes sense to subclass the widget because you are, in fact,
creating a new type of