]> git.phdru.name Git - m_librarian.git/commitdiff
Feat(wx): Create `Application`
authorOleg Broytman <phd@phdru.name>
Thu, 14 Dec 2023 21:20:20 +0000 (00:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 17 Dec 2023 20:18:25 +0000 (23:18 +0300)
Start working on wx GUI.

[skip ci]

m_librarian/wx/Application.py [new file with mode: 0644]
m_librarian/wx/__init__.py [new file with mode: 0644]
scripts/ml-wx.py [new file with mode: 0755]

diff --git a/m_librarian/wx/Application.py b/m_librarian/wx/Application.py
new file mode 100644 (file)
index 0000000..d1e95cf
--- /dev/null
@@ -0,0 +1,4 @@
+import wx
+
+class Application(wx.App):
+    pass
diff --git a/m_librarian/wx/__init__.py b/m_librarian/wx/__init__.py
new file mode 100644 (file)
index 0000000..792d600
--- /dev/null
@@ -0,0 +1 @@
+#
diff --git a/scripts/ml-wx.py b/scripts/ml-wx.py
new file mode 100755 (executable)
index 0000000..f10e31c
--- /dev/null
@@ -0,0 +1,14 @@
+#! /usr/bin/env python
+
+import sys
+from m_librarian.wx.Application import Application
+
+
+def main():
+    if len(sys.argv) > 1:
+        sys.exit("This program doesn't accept any arguments")
+    app = Application()
+
+
+if __name__ == '__main__':
+    main()