diff options
| author | Zach DeCook <zach@vostro.home.zachdecook.com> | 2022-12-08 18:02:01 -0500 |
|---|---|---|
| committer | Zach DeCook <zach@vostro.home.zachdecook.com> | 2022-12-08 18:02:01 -0500 |
| commit | eb7e03866d67cd34afd136a7e36403b08d208d28 (patch) | |
| tree | 3b145a0210bd3e3cd8824d4d832710ed5ef148ed /browset.py | |
| download | browset-eb7e03866d67cd34afd136a7e36403b08d208d28.tar.gz | |
Browset: Create browser toolbar
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() + |
