Hi guys,

I have an interesting issue.

I am trying to do a command similar to "clear screen." Where from the
main entry point I pretty much create every widget in the app on
several levels into a single panel "main."

When it comes to clearing the screen it is simple to call main.clear()

However, PopupPanels seem to be owned by the RootPanel and remain
onscreen.

Calling RootPanel.get().clear() isnt desirable as that rids the screen
of the main element.

Unless there is a way to reinstantiate the main element from an inner
element by calling a method in the entrypoint but i dont think that
seems to be possible.

Is there any solutions to clear all PopupPanels short of passing
references of these panels up and and down N levels deep to the "main"
panel to manually call hide() on? As this way seems really
inefficient.

Cheers,

Matt
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to