Re: delete-event of GtkWidget

On Sat, Jan 20, 2007 at 03:52:24PM +0100, Enrico Tröger wrote:
If you don't handle the delete event, the widget gets marked for
destroy. Later it gets the destroy event (at this point the widget is
no longer quite functional: think of it as a last cleanup thing).
Then it goes away. Nobody guarantees you that all those things happen
Yes, this is what one should expect and it is also written in the docs.
But at least in Debian the widget is still usable after the

You access memory that was released.  If it was not reused
for anything else meanwhile, it still contains the data and
it may seem the object is still there.  But this doen't mean
it is there.  Try it under valgrind...



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