reparent


Description:

[ Version ( deprecated = true , deprecated_since = "3.14" ) ]
public void reparent (Widget new_parent)

Warning: reparent is deprecated since "3.14".

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

Note:

Use remove and add.

Parameters:

this

a Widget

new_parent

a Container to move the widget into