Re: [gtk-list] Re: Reparenting bug
- From: Conrad Steenberg <conrad srl caltech edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Reparenting bug
- Date: Fri, 23 Jul 1999 09:51:24 -0700 (PDT)
On 23 Jul 1999, Owen Taylor wrote:
> The parent widget holds the reference count on the widget, so
> you need to do:
>
> gtk_object_ref (widget);
> gtk_container_remove (old_parent, widget);
> gtk_container_add (new_parent, widget);
> gtk_object_unref (widget);
> reliable, anyways.
It works great now, thanks!
>
> If you want to add a bug report to the bug tracker about
> this, it will help make sure that it doesn't forgotten
> about. For now, just use container_remove()/add().
Where is the bug tracker? I can't find any mention of it on gtk.org.
Cheers
Conrad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]