Re: Repacking a widget




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]