From: Oleg Broytman Date: Thu, 14 Dec 2023 21:20:20 +0000 (+0300) Subject: Feat(wx): Create `Application` X-Git-Tag: 0.3.0~9^2~43 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=996e6bc78ced078e7329b39c4ad7a47fee895ea8 Feat(wx): Create `Application` Start working on wx GUI. [skip ci] --- 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()