Sets the parent for the element.
This is used internally and you should normally not call this. A Container will set the parent of its children in add and remove.
Note, if parent
is not null, this must not already have
a parent set. Therefore, if you wish to switch parents, you will need to call this function twice: first to set the parent to
null, and then to the new parent.
If parent
is not null, you must ensure it already has a (non-floating) reference to
this before calling this.
this |
A TimelineElement |
true if |