Sets the animation mode of this.
Use PropertyTransition instead
The animation mode is a logical id, either coming from the AnimationMode
enumeration or the return value of register_func.
This function will also set alpha if needed.
| this | |
| mode |
an animation mode logical id |