Re: verify widget destroy



On Thu, 2003-10-23 at 09:02, danilo lujambio wrote:
Hi,

how can i verify when a widget was destroyed ? 

I tryed to use GTK_OBJECT_DESTROYED but I had a segmentation fault . I
am still using gtk 1.2 

thanks in advance , and sorry if my question is stupid but i could not
find any answer in arhives 

Once an object is destroyed, it's gone. There's nothing left.
There's no way that a destroyed object could have a "destroyed"
flag, because the object is already gone.

Generally, what you need to do is connect to the "destroy"
signal and do your cleanup then.

Regards,
                                        Owen





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