mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
16 lines
261 B
Python
16 lines
261 B
Python
from textual.app import App
|
|
from textual.widgets import Static
|
|
|
|
|
|
class Clickable(Static):
|
|
def on_click(self):
|
|
self.app.bell()
|
|
|
|
|
|
class SpacingApp(App):
|
|
def compose(self):
|
|
yield Static(id="2332")
|
|
|
|
|
|
app = SpacingApp(css_path="spacing.css")
|