[Java-gnome-developer] Quitting windows and apps
Brought to you by:
afcowie
From: Adam B. <a-...@ho...> - 2011-04-26 17:08:20
|
Hi All, Let's assume I have Program X that starts window c. Window c can create a new instance of its self by going something like: C c = new C(); c.newC(); // this starts the new instance. So now you have the main Window running along with a identical window sitting on top of it. My issue is that when I close one window I don't want all my windows to close. Current I am using Gtk.mainQuit(); to close windows. What's the proper way of doing this without actually closing all the windows tied to window c including its self? This should also apply when I click the x in the top. |