Blocking Main Window destroy siginal



Hi,

I would like to prevent my app from being closed by the user during some 
database writes and data transfers.

Is there a way to block the Window destroy signal so that if the 'x' button in 
the main window is clicked it is ignored and the app keeps running?

Thanks,

jasun




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