diff options
author | Just van Rossum <just@lettererror.com> | 1999-09-26 12:25:06 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-09-26 12:25:06 (GMT) |
commit | a840fca15590f2369bb5381be86d13ce12563f73 (patch) | |
tree | 799bb9ec5ffb6efb132ffd8c8256eb8b8710818e /Mac/IDE scripts/Widget demos/PaneDemo.py | |
parent | b7ad821f022a62656677b03f1d081e1e284047ea (diff) | |
download | cpython-a840fca15590f2369bb5381be86d13ce12563f73.zip cpython-a840fca15590f2369bb5381be86d13ce12563f73.tar.gz cpython-a840fca15590f2369bb5381be86d13ce12563f73.tar.bz2 |
Initial checkin of IDE scripts. (jvr)
Diffstat (limited to 'Mac/IDE scripts/Widget demos/PaneDemo.py')
-rw-r--r-- | Mac/IDE scripts/Widget demos/PaneDemo.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Mac/IDE scripts/Widget demos/PaneDemo.py b/Mac/IDE scripts/Widget demos/PaneDemo.py new file mode 100644 index 0000000..5d991b0 --- /dev/null +++ b/Mac/IDE scripts/Widget demos/PaneDemo.py @@ -0,0 +1,14 @@ +import W + +w = W.Window((600, 400), "Ha!", minsize = (240, 200)) + +w.panes = W.HorizontalPanes((8, 8, -30, -8), (0.3, 0.3, 0.4)) +w.panes.blah1 = W.EditText(None, "eehhh...") +w.panes.blah2 = W.EditText((8, 8, -8, -8), "xxx nou...") +w.panes.panes = W.VerticalPanes(None, (0.3, 0.4, 0.3)) +w.panes.panes.blah1 = W.EditText(None, "eehhh...") +w.panes.panes.blah2 = W.Frame(None) +w.panes.panes.blah2.t = W.EditText((0, 0, 0, 0), "nou...") +w.panes.panes.blah3 = W.List(None, ["eehhh...", 'abc', 'def']) + +w.open() |