fix for footer

This commit is contained in:
Will McGugan
2022-08-11 16:45:31 +01:00
parent e8d0d7f3ef
commit bd82ece9cf
10 changed files with 117 additions and 36 deletions

13
sandbox/will/footer.py Normal file
View File

@@ -0,0 +1,13 @@
from textual.app import App
from textual.widgets import Footer
class FooterApp(App):
def on_mount(self):
self.dark = True
self.bind("b", "app.bell", description="Play the Bell")
self.bind("f1", "app.bell", description="Hello World")
self.bind("f2", "app.bell", description="Do something")
def compose(self):
yield Footer()