focus traversal

This commit is contained in:
Will McGugan
2022-05-04 10:54:20 +01:00
parent 375a18c0b1
commit a2da5546bd
9 changed files with 149 additions and 47 deletions

View File

@@ -89,7 +89,7 @@ class BasicApp(App):
def on_load(self):
"""Bind keys here."""
self.bind("tab", "toggle_class('#sidebar', '-active')")
self.bind("s", "toggle_class('#sidebar', '-active')")
def on_mount(self):
"""Build layout here."""