Prevent window from being destroyed?



Greetings.

How do I stop a window from being destroyed? For example, if someone clicks the window's close button, how do I prevent the window from closing immediately? I can run code when this happens ( by connecting to the window's destroy signal ), but by the time my code runs, it's too late - the window is already gone.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



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