set_parent
Description:
Warning: set_parent is deprecated since 1.10.
Sets the parent of this to parent
.
Note:
Use add_child instead.
This function will result in parent
acquiring a reference on this, eventually by sinking its
floating reference first. The reference will be released by unparent.
This function should only be called by legacy Actors implementing the Container interface.
Parameters:
this |
A Actor |
parent |
A new Actor parent |