Re: [gtk-list] destroy and delete events
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] destroy and delete events
- Date: Tue, 7 Jul 1998 15:40:35 +0200 (CEST)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]