Killing a window




I am keeping track of a CList which is modified by many different
functions, sort of like a logfile.  I have a toggle button, and when it is
"toggled on," a window is shown with gtk_widget_show() which the CList is
attached to, and if the button is toggled off, then gtk_widget_hide() is
called.  This works fine, but when you close the window (by clicking the X
on its titlebar), I can no longer access the CList.  What is the best way
to ensure that clicking the toggle button will show/hide the window, and
that the CList will not be destroyed when/if the window is?

Thanks in advance,

Jeremy Wise
jwise@pathwaynet.com




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