diff --git a/Linking-ScreenManager-to-a-different-Widget.md b/Linking-ScreenManager-to-a-different-Widget.md index 7c59040..1be3cdd 100644 --- a/Linking-ScreenManager-to-a-different-Widget.md +++ b/Linking-ScreenManager-to-a-different-Widget.md @@ -10,7 +10,7 @@ The idea of this snippet is to control the ScreenManager from a different widget * *Store a screen name in every Tab* * *Ask ScreenManager to change the Screen in TabbedPanels `switch_to` method.* -``` +``` #!python from kivy.app import App from kivy.uix.tabbedpanel import TabbedPanel @@ -53,7 +53,7 @@ Builder.load_string(''' class RootWidget(TabbedPanel): - mnager = ObjectProperty(None) + manager = ObjectProperty(None) def switch_to(self, header): # set the Screen manager to load the appropriate screen