Renderables

This commit is contained in:
Will McGugan
2022-02-23 11:34:25 +00:00
parent 3ee5eb8a2b
commit d83c0090b1
5 changed files with 98 additions and 0 deletions

18
sandbox/uber.py Normal file
View File

@@ -0,0 +1,18 @@
from textual.app import App
from textual import events
from textual.widgets import Placeholder
from textual.widget import Widget
class BasicApp(App):
"""Sandbox application used for testing/development by Textual developers"""
def on_mount(self):
"""Build layout here."""
self.mount(uber=Widget())
async def on_key(self, event: events.Key) -> None:
await self.dispatch_key(event)
BasicApp.run(css_file="uber.css", log="textual.log")