Re: [gtkmm] "manage" and Glib::RefPtr



>No, manage() does not set some gtk+ flag to enable unconditional
>destruction. gtk+ always does unconditional desctruction. We simply
>prevent the desctruction by reimplementing the container's destroy
>handler removing non-manage()ed widgets before the gtk callback
>can destroy them.

this is a great explanation, thanks. it is also a very clever idea. i
sort of understood this in some part of my head, but martin's
explanation makes it all clear now.

--p



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