Re: [gtk-list] Re: Can't preempt WM destroy event
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Cc: kodis jagunet com
- Subject: Re: [gtk-list] Re: Can't preempt WM destroy event
- Date: 02 Jan 2000 22:39:32 -0500
Yasushi Shoji <yashi@yashi.com> writes:
> >- "destroy", (GtkSignalFunc)on_sub_destroy, NULL);
> >+ "delete-event", (GtkSignalFunc)on_sub_destroy, NULL);
> >
> > printf("main: top=%p, sub=%p\n", top, sub);
>
> should do it.
Note that you also have to change the callback signature to match
delete_event.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]