Re: catching destroying a window



On Wed, 2003-05-28 at 09:40, Peter Van Osta wrote:
> Hi,
> 
> When "destroying" a window by clicking on the cross in the upper right
> corner the window gets destroyed and cannot be opend again afterwards:
> 
> Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show):
> assertion `GTK_IS_WIDGET (widget)' failed.
> 
> How to avoid this behavior and to make it possible to reopen the window
> again ?

See usage of "delete_event" in 

http://www.gtk.org/tutorial/ch-gettingstarted.html

Regards,
                                                 Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]