Widget.reparent

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

class Widget
void
reparent

Parameters

newParent Widget

a GtkContainer to move the widget into

Meta