blob: 3eac613990cc5c8596ec8e9ebef822b70fa6cabc [file] [log] [blame]
Just van Rossumedd99242000-07-01 14:31:24 +00001"""Minimal W application."""
2
3import Wapplication
4
5class TestApp(Wapplication.Application):
6
7 def __init__(self):
8 import Res
9 Res.FSpOpenResFile("Widgets.rsrc", 1)
10 self._menustocheck = []
11 self.preffilepath = ":Python:PythonIDE preferences"
12 Wapplication.Application.__init__(self, 'Pyth')
13 # open a new text editor
14 import PyEdit
15 PyEdit.Editor()
16 # start the mainloop
17 self.mainloop()
18
19
20TestApp()