summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Tools/IDE/Wminiapp.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/Wminiapp.py b/Mac/Tools/IDE/Wminiapp.py
new file mode 100644
index 0000000..3eac613
--- /dev/null
+++ b/Mac/Tools/IDE/Wminiapp.py
@@ -0,0 +1,20 @@
+"""Minimal W application."""
+
+import Wapplication
+
+class TestApp(Wapplication.Application):
+
+ def __init__(self):
+ import Res
+ Res.FSpOpenResFile("Widgets.rsrc", 1)
+ self._menustocheck = []
+ self.preffilepath = ":Python:PythonIDE preferences"
+ Wapplication.Application.__init__(self, 'Pyth')
+ # open a new text editor
+ import PyEdit
+ PyEdit.Editor()
+ # start the mainloop
+ self.mainloop()
+
+
+TestApp()