Re: [gtk-list] Re: Dialog Boxes - help
- From: Mark Volpe <volpe mark epamail epa gov>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Dialog Boxes - help
- Date: Thu, 30 Sep 1999 14:08:58 +0000
Well, sometimes closing the parent window will cause a gtk_main_quit()
and
sometimes not ( I have a multi-window app ), so I probably need
to check for that and call gtk_main_quit() a second time if it wants to
exit.
Would my dialog recieve a "destroy" signal in this setup when the parent
gets destroyed?
Mark
Havoc Pennington wrote:
>
> You can't really prevent delete events; you can set a hint that you don't
> want them but some window managers (Enlightenment for example) ignore it.
> I'm not sure how to set the hint, maybe someone else could post.
>
> The way to handle this is to connect a delete_event handler which does
> nothing and returns TRUE, preventing the default gtk_widget_destroy()
> action.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]