ScreenManager#
New in version 1.0.0.
ScreenManager class equivalent.
If you want to use Hero animations you need to use
MDScreenManager not
ScreenManager class.
API - kivymd.uix.screenmanager#
- class kivymd.uix.screenmanager.MDScreenManager(*args, **kwargs)#
Screen manager. This is the main class that will control your
MDScreenstack and memory. For more information, see in theScreenManagerclass documentation.- current_hero#
The name of the current tag for the
MDHeroFromandMDHeroToobjects that will be animated when animating the transition between screens.See the Hero module documentation for more information about creating and using Hero animations.
current_herois anStringPropertyand defaults to None.
- check_transition(self, *args)#
Sets the default type transition.
- get_hero_from_widget(self)#
Get an
MDHeroToobject with thecurrent_herotag.
- add_widget(self, widget, *args, **kwargs)#
Changed in version 2.1.0.
Renamed argument screen to widget.