Best Way to Destroy a Widget
- From: Jason McAfee <jamcafee olemiss edu>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Best Way to Destroy a Widget
- Date: Wed, 24 Nov 1999 03:09:36 +0000
If I want to destroy a widget in my program, what would be the most
efficient way of doing so? Please note that I do not wish to exit my
program but only the current widget that is being displayed. Right now
I am using gtk_widget_destroy(widget) which is called by a delete_event
signal. You can close the widget only twice, but the third time you
close it I get a segmentation fault. I also want to make sure that all
variables that were declared are free in memory.
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]