documentation indexreference manualfunction index

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 transition that is applied to the old and new screens, and used as the new screen for trans.

This may not work with all transitions.



Example

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



documentation indexreference manualfunction index