Re: deactivating close button of a gtk+ window / dialog

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

 



Paul Davis <paul@linuxaudiosystems.com> wrote on 25/07/2003 (08:18) :
> catch the top level window delete_event, do nothing in the handler,
> return TRUE.

Or a better solution might be to pop up a dialog saying "Shutting down
system. Please wait while critical data is saved" or something like
that. And run a loop which will do a gtk exit when the critical phase
has passed and a flag has bee set.

Otherwise if this takes some time the user might kill the app in stead
as it thinks it has hung or something.

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux