Widget.reparent

void reparent(gtk.widget.Widget newParent)

Moves a widget from one #GtkContainer to another, handling reference count issues to avoid destroying the widget.

Parameters

newParenta #GtkContainer to move the widget into

Deprecated

Use [gtk.container.Container.remove] and [gtk.container.Container.add].