]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/PyCrustWithFilling.py
2 from wxPython
.wx
import wxSplitterWindow
3 from wxPython
.lib
.PyCrust
import shell
, version
, filling
6 #----------------------------------------------------------------------
8 intro
= 'Welcome To PyCrust %s - The Flakiest Python Shell' % version
.VERSION
10 def runTest(frame
, nb
, log
):
11 win
= wxSplitterWindow(nb
, -1, size
=(640, 480))
12 shellWin
= shell
.Shell(win
, -1, introText
=intro
)
13 fillingWin
= filling
.Filling(win
, -1, size
=(640, 480),
14 rootObject
=shellWin
.interp
.locals,
17 win
.SplitHorizontally(shellWin
, fillingWin
)
20 #----------------------------------------------------------------------
22 overview
= filling
.__doc
__
24 if __name__
== '__main__':
27 run
.main(['', os
.path
.basename(sys
.argv
[0])])