From 996e6bc78ced078e7329b39c4ad7a47fee895ea8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 15 Dec 2023 00:20:20 +0300 Subject: [PATCH] Feat(wx): Create `Application` Start working on wx GUI. [skip ci] --- m_librarian/wx/Application.py | 4 ++++ m_librarian/wx/__init__.py | 1 + scripts/ml-wx.py | 14 ++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 m_librarian/wx/Application.py create mode 100644 m_librarian/wx/__init__.py create mode 100755 scripts/ml-wx.py diff --git a/m_librarian/wx/Application.py b/m_librarian/wx/Application.py new file mode 100644 index 0000000..d1e95cf --- /dev/null +++ b/m_librarian/wx/Application.py @@ -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 index 0000000..792d600 --- /dev/null +++ b/m_librarian/wx/__init__.py @@ -0,0 +1 @@ +# diff --git a/scripts/ml-wx.py b/scripts/ml-wx.py new file mode 100755 index 0000000..f10e31c --- /dev/null +++ b/scripts/ml-wx.py @@ -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() -- 2.39.5