]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/PyCrust.py
Applied patch [ 739401 ] gtk_init() has to be called before gdk_threads_enter()
[wxWidgets.git] / wxPython / demo / PyCrust.py
1
2
3 from wxPython.lib.PyCrust import shell, version
4
5
6 #----------------------------------------------------------------------
7
8 intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
9
10 def runTest(frame, nb, log):
11 win = shell.Shell(nb, -1, introText=intro)
12 return win
13
14 #----------------------------------------------------------------------
15
16 overview = shell.__doc__
17
18
19 if __name__ == '__main__':
20 import sys,os
21 import run
22 run.main(['', os.path.basename(sys.argv[0])])
23