Added NoTransition screenmanager transition

This commit is contained in:
Alexander Taylor 2014-01-07 22:27:30 +00:00
parent d4a4dcb648
commit 01d376ec07
1 changed files with 10 additions and 0 deletions

View File

@ -463,6 +463,16 @@ class ShaderTransition(TransitionBase):
self.manager.real_add_widget(self.screen_in)
class NoTransition(TransitionBase):
'''No transition, instantly switches to the next screen with no delay or
animation.
.. versionadded:: 1.8.0
'''
duration = NumericProperty(0.0)
class SlideTransition(TransitionBase):
'''Slide Transition, can be used to show a new screen from any direction:
left, right, up or down.