[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Repacking a widget
- From: joey yandle <jwy divisionbyzero com>
- To: Richard Jones <rich annexia org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Repacking a widget
- Date: Fri, 11 Jul 2003 14:01:03 -0700 (PDT)
>
> I've been told that I can only pack widgets if they are "floating"
> (presumably meaning they don't have a parent?). But I see no way to
> "float" a widget.
>
Some combination of
gtk_widget_unparent()
gtk_widget_reparet()
gtk_container_remove()
gtk_container_add()
should work for you. Just be sure to grab a reference to the widget
before removing it from a container, else it might self-destruct
when its refcount is lowered.
cheers,
--
joey yandle
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]