Re: [gtk-list] gtk_container_remove?
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_container_remove?
- Date: Thu, 7 Oct 1999 23:00:54 -0400 (EDT)
Hi,
Just bump the ref count during the move:
gtk_widget_ref(child);
gtk_container_remove(container, child);
gtk_container_add(container2, child);
gtk_widget_unref(child);
I think this is in the FAQ even. :-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]