Broken project to implement a cross-protocol browser in textual
Diffstat (limited to 'browset.py')
| -rw-r--r-- | browset.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/browset.py b/browset.py new file mode 100644 index 0000000..42bfec9 --- /dev/null +++ b/browset.py @@ -0,0 +1,22 @@ +from textual.app import App, ComposeResult +from textual.widgets import Input, Button +from textual.containers import Container + + +class Browset(App): + CSS_PATH = "browset.css" + def compose(self) -> ComposeResult: + yield Container( + Button("🔙"), # ⏪ + Button("🔝"), # ⏫ + Button("🔜"), # ⏩ + Button("🔄"), # 🔁 + + Input(placeholder="Enter URI"), + id="toolbar" + ) + +if __name__ == "__main__": + app = Browset() + app.run() + |