blob: 0c515830ef08ba57efc4c27ab7b63c2585cc3210 [file] [log] [blame]
Just van Rossumedd99242000-07-01 14:31:24 +00001"""Minimal W application."""
2
3import Wapplication
Jack Jansen8f3078b2002-04-03 21:28:02 +00004import macresource
5import os
Just van Rossumedd99242000-07-01 14:31:24 +00006
7class TestApp(Wapplication.Application):
Tim Peters182b5ac2004-07-18 06:16:08 +00008
9 def __init__(self):
10 from Carbon import Res
11# macresource.open_pathname("Widgets.rsrc")
12 self._menustocheck = []
13 self.preffilepath = os.path.join("Python", "PythonIDE preferences")
14 Wapplication.Application.__init__(self, 'Pyth')
15 # open a new text editor
16 import PyEdit
17 PyEdit.Editor()
18 # start the mainloop
19 self.mainloop()
20
Just van Rossumedd99242000-07-01 14:31:24 +000021
22TestApp()