carbonkivy.uix.screenmanager
Submodules
Classes
Screen manager. This is the main class that will control your |
Package Contents
- class carbonkivy.uix.screenmanager.CScreenManager(**kwargs)[source]
Bases:
carbonkivy.behaviors.BackgroundColorBehaviorRectangular,kivy.uix.screenmanager.ScreenManager,carbonkivy.behaviors.DeclarativeBehaviorScreen manager. This is the main class that will control your
Screenstack and memory.By default, the manager will show only one screen at a time.
- transition
Transition object to use for animating the transition from the current screen to the next one being shown.
For example, if you want to use a
WipeTransitionbetween slides:from kivy.uix.screenmanager import ScreenManager, Screen, WipeTransition sm = ScreenManager(transition=WipeTransition()) sm.add_widget(Screen(name='first')) sm.add_widget(Screen(name='second')) # by default, the first added screen will be shown. If you want to # show another one, just set the 'current' property. sm.current = 'second'transitionis anObjectPropertyand defaults to aSlideTransition.Changed in version 1.8.0: Default transition has been changed from
SwapTransitiontoSlideTransition.