How do I prevent the main window from being destroyed?



I was wondering how do i get the main window not to be destroyed, but being hidden instead.
Like X-CD Roast, when you click the WM Decoration's "X" (close), it opens a transient window without destroying the main window.
How do I do that with Gtk1-perl?
 
It is working all right with a "Quit Button".
 
Thanks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]