Re: [gtk-list] Re: destroy and delete events
- From: "Jason A. Pfeil" <pfeil nu cs fsu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: destroy and delete events
- Date: Tue, 7 Jul 1998 23:42:52 -0400 (EDT)
Actually, this was from the gtk-- toolkit, not just gtk+. But thanks
anyway.
--Jason
y
On Tue, 7 Jul 1998, Tim Janik wrote:
> On Mon, 6 Jul 1998, Jason A. Pfeil wrote:
>
> > I am having some difficulty handling the destroy signal and the
> > delete_event from the WM. I want to trap the close_box of a dialog window
> > and handle it myself and not have the window actually get destroyed. I
> > just want to call the hide() method of the window...yet, the regular
> > handler is still being called no matter if I return TRUE or FALSE.
>
> gtk_signal_connect (GTK_OBJECT (window), "delete-event",
> GTK_SIGNAL_FUNC (gtk_widget_hide_on_delete),
> NULL);
> should do what you want.
>
> >
> > Any hints?
> >
>
> ---
> ciaoTJ
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
-------------------------------------------------------------------------------
Jason A. Pfeil, Computer Science Graduate Student 101 Carothers Hall
http://www.cs.fsu.edu/~pfeil C3527 University Center
pfeil@cs.fsu.edu (850)644-8014
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]