Re: Destroy Signal
- From: Jeff Shipman <shippy nmt edu>
- To: <CyborgHead netscape net>
- Cc: <gtk-list gnome org>
- Subject: Re: Destroy Signal
- Date: Sun, 4 Mar 2001 12:21:25 -0700 (MST)
I think this should work:
gtk_widget_connect_object(GTK_OBJECT(mydialog), "delete_event",
GTK_SIGNAL_FUNC(gtk_widget_hide),
GTK_OBJECT(mydialog));
Jeff "Shippy" Shipman E-Mail: shippy nmt edu
Computer Science Major ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy
On Sun, 4 Mar 2001 CyborgHead netscape net wrote:
> Hello.
> Just a quick question? I have written an application in GTK had have many dialog boxes. When I press the X button on the top right of the dialog box it is killed, and when I try and show the dialog box again I get a run time error, which is natural because by pressing the X Button, I killed the dialog box widget, instead of hiding it. Is there any way I can overwrite the X Button to hide the dialog box instead of killing it, or even disable this button to prevent this happening?
>
> Thakn Ciaran.
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]