Re: Removing a widget
- From: Harold Campbell <hcamp muerte net>
- To: Havoc Pennington <hp redhat com>
- CC: gnome-devel-list gnome org
- Subject: Re: Removing a widget
- Date: Sat, 06 Nov 1999 00:29:02 -0600
Why not gtk_widget_reparent? Or, more precisely, when is it safe to use
gtk_widget_reparent?
Havoc Pennington wrote:
>
> To "move" a widget:
>
> gtk_widget_ref(child);
> gtk_container_remove(container, child);
> gtk_container_add(new_container, child);
> gtk_widget_unref(child);
>
> Havoc
--
Harold
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]