GtkWidget::reparent

void reparent ( GtkWidget new_parent );

reparent() moves the calling widget from its current GtkContainer to the new GtkContainer new_parent.

When called, reparent() will cause the "parent-set" signal to be emitted.

See also: reparent()