[Gtk-sharp-list] reusing windows using attribute [Widget]
Francis Brosnan Blázquez
Thu, 09 Dec 2004 11:58:43 +0100
Once an window is showed you should catch delete-event and hide it
yourself to avoid the window from being destroyed by the gtk engine.
Thus, you can later show again the window by using window.Show ();
Another approach, which I prefer since we are working in a managed
environment, is to have one class per window with its glade loading
stuff and do nothing for delete-event. Every time you need to launch a
window simply create a new instance.