Commit 7b60925d authored by Just van Rossum's avatar Just van Rossum

a minimal test app to show how to build a standalone app with W

parent 07046866
"""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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment