Simple question:How to destroy a child window?
- From: Pengjun Pei <ppei cse Buffalo EDU>
- To: <gtk-list gnome org>
- Subject: Simple question:How to destroy a child window?
- Date: Sun, 21 Oct 2001 23:00:02 -0400 (EDT)
Hi,I made a program containing a main window and may pop up a new window.
But I always have problems in destroying the windows.
Seems gtk_main_quit() not a good idea
Is
gtk_quit_add_destroy(gtk_main_level(),GTK_OBJECT(widget));
return(TRUE)
the correct thing to do?
I tried but it seems not working the way I expected.
Also what the difference between delete_event and destroy?
What are the situations to use them?
Thanks!
Pengjun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]