Re: Arbitrary number of child windows



On Mon, 2008-05-12 at 20:26 +0100, Chris Vine wrote:

> 
> Handing it off to some other handler, such as an idle handler, does
> exactly the same as 'delete this' but at some indeterminate time later.
> It is better to do it directly and call 'delete this'.

if you're in a signal handling call stack, i can't agree with this. you
have no idea which, if any, members of a Glib::Object and all of its
derived classes might still be accessed after your handler method
returns.




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