MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / go_previous_screen

Method go_previous_screen

gui-apps/app_kivy.py:56–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.root.ids.spnr.text = value
55
56 def go_previous_screen(self):
57 self.index = (self.index - 1) % len(self.available_screens)
58 screen = self.load_screen(self.index)
59 sm = self.root.ids.sm
60 sm.switch_to(screen, direction='right')
61 self.current_title = screen.name
62 self.update_sourcecode()
63
64 def go_next_screen(self):
65 self.index = (self.index + 1) % len(self.available_screens)

Callers

nothing calls this directly

Calls 2

load_screenMethod · 0.95
update_sourcecodeMethod · 0.95

Tested by

no test coverage detected