public void reparent (Actor new_parent)
Warning: reparent is deprecated since 1.10.
Resets the parent actor of this.
This function is logically equivalent to calling unparent and set_parent, but more efficiently implemented, as it ensures the child is not finalized when unparented, and emits the parent_set signal only once.
In reality, calling this function is less useful than it sounds, as some application code may rely on changes in the intermediate state between
removal and addition of the actor from its old parent to the
new_parent. Thus, it is strongly encouraged to avoid using this
function in application code.
the new Actor parent