Re: [gtkmm] Allowing GTK+ child widgets to prevent their own destruction



On Sun, 2002-11-10 at 16:23, Jarek Dukat wrote:
> On Sun, 2002-11-10 at 15:28, Murray Cumming wrote:
> > I'd like to give control back to the child widget, by changing
> > gtk_container_destroy() so that it checks some
> > "does_not_want_to_be_destroyed_by_container" qdata in the child widget
> > before calling gtk_object_destroy(). It wouldn't break API, and
> > shouldn't affect performance. Is this acceptable?
> 
> What's the point of adding this functionality?

It would fix that bug and, in general, allow C++ gtkmm widgets to be
added to unwrapped GTK+ widgets.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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