mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
13 lines
271 B
Python
13 lines
271 B
Python
from textual.app import App
|
|
from textual.widgets import Static
|
|
|
|
|
|
class DisplayApp(App):
|
|
def compose(self):
|
|
yield Static("Widget 1")
|
|
yield Static("Widget 2", classes="remove")
|
|
yield Static("Widget 3")
|
|
|
|
|
|
app = DisplayApp(css_path="display.css")
|