summary refs log tree commit diff
path: root/browset.py
diff options
context:
space:
mode:
authorZach DeCook <zach@vostro.home.zachdecook.com>2022-12-08 18:02:01 -0500
committerZach DeCook <zach@vostro.home.zachdecook.com>2022-12-08 18:02:01 -0500
commiteb7e03866d67cd34afd136a7e36403b08d208d28 (patch)
tree3b145a0210bd3e3cd8824d4d832710ed5ef148ed /browset.py
downloadbrowset-eb7e03866d67cd34afd136a7e36403b08d208d28.tar.gz
Browset: Create browser toolbar
Diffstat (limited to 'browset.py')
-rw-r--r--browset.py22
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()
+