unparent


Description:

[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.2" ) ]
public void unparent ()

Warning: unparent is deprecated since 1.10.

Removes the parent of this.

Note:

Use remove_child instead.

This will cause the parent of this to release the reference acquired when calling set_parent, so if you want to keep this you will have to acquire a reference of your own, through @ref.

This function should only be called by legacy Actors implementing the Container interface.

Parameters:

this

a Actor