destroy event



I curious what (or how much) "clean up" I should do when one of my
windows gets a destroy event by clicking the X to close the window. Do I
have to free any memory for the window? What about if I re-use the
window later in my application? Is it better to just call
gtk_widget_show()/gtk_widget_hide() on the window and wait until
application quit time?

What is the common concensus?

-- 
 .''`.      Carl B. Constantine
: :' :     duckwing duckwing ca
`. `'    GnuPG: 135F FC30 7A02 B0EB 61DB  34E3 3AF1 DC6C 9F7A 3FF8
  `-  Debian GNU/Linux -- The power of freedom
  "Claiming that your operating system is the best in the world because more
  people use it is like saying McDonalds makes the best food in the world."



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