Re: [gtk-list] gtk_main_quit() and destruction
- From: Havoc Pennington <hp Mcs Net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_main_quit() and destruction
- Date: Thu, 18 Feb 1999 09:20:05 -0600 (CST)
On 18 Feb 1999, Hrvoje Niksic wrote:
>
> How do I make sure my "destroy" handler is invoked even in the face of
> gtk_main_quit()? I need it to make sure that some cleanups are done
> (e.g. processes killed) when the windows associated to them get
> destroyed.
>
You can put code after gtk_main(), which will execute when you
gtk_main_quit(). Or you can register "quit functions," see gtk_quit_add()
etc. in gtkmain.h.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]