Reparenting a widget



Hello,

I'm having difficulties trying to remove a widget from a container and
add it to a different one.  I found that if I use
gtk_widget_unparent(widget), or gtk_container_remove(container, widget),
then widget becomes NULL.

I can use gtk_widget_reparent, but if the new parent is a table
container, I have no way to specify the row, column layout for the
widget.  It works for boxes, because I can use the
gtk_box_set_child_packing fuction.

Am I missing something?  Is there a way to do this?

Thanks,

-- 
Kevin Pearson
pearson@micron.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]