So, I was working with a DockPanel, and I want to remove a Widget. Seems to only be two ways, remove teh Widget or remove the Widget by it's index.
Is there a way to remove Widgets by their Direction? I feel there should be a DockPanel.clear(DockPanel.NORTH) or something to that effect. For example, I want to put GWT.Visualizations in the Center direction with the surrounding directions controlling which type of Visualization is in there. That means, I wont' know what is in there, it could be the default HTML giving directions for all I know. What's the best way to clear the Center(or any) direction before adding to it? Seems like a pretty useful thing that's missing from the API.
-- 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.
