Merge pull request #40 from willmcgugan/0.1.9

0.1.9
This commit is contained in:
Will McGugan
2021-08-06 13:07:04 +01:00
committed by GitHub
56 changed files with 2054 additions and 875 deletions

View File

@@ -7,4 +7,4 @@ class ColorChanger(App):
self.background = f"on color({event.key})"
ColorChanger.run()
ColorChanger.run(log="textual.log")

View File

@@ -0,0 +1,16 @@
from textual import events
from textual.app import App
from textual.widgets import Placeholder
class SimpleApp(App):
"""Demonstrates smooth animation"""
async def on_mount(self, event: events.Mount) -> None:
"""Build layout here."""
await self.view.dock(Placeholder(), edge="left", size=40)
await self.view.dock(Placeholder(), Placeholder(), edge="top")
SimpleApp.run(log="textual.log")