Reference Manual: (offline | online) Quickstart: (offline | online)

# ComposeTransition

Function: ComposeTransition( | trans, before=None, after=None)

This allows transitions to be composed before they are applied.

trans - The top-level transition.

before - If not None, a transition that is applied to the old and new screens, and used as the old screen for trans.

after - If not None, a transitions that is applied to the old and new screens, and used as the old screen for trans.

This may not work with all transitions.

## Example

    $ moveinoutdissolve = ComposeTransition(dissolve, before=moveoutleft, after=moveinright)

Reference Manual: (offline | online) Quickstart: (offline | online)