diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Demo/tix/samples/DirTree.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-182b5aca27d376b08a2904bed42b751496f932f3.zip cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Demo/tix/samples/DirTree.py')
-rwxr-xr-x | Demo/tix/samples/DirTree.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Demo/tix/samples/DirTree.py b/Demo/tix/samples/DirTree.py index d007a2b..2e4fe0b 100755 --- a/Demo/tix/samples/DirTree.py +++ b/Demo/tix/samples/DirTree.py @@ -1,6 +1,6 @@ # -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*- # -# $Id$ +# $Id$ # # Tix Demostration Program # @@ -19,7 +19,7 @@ import Tix, os, copy from Tkconstants import * -TCL_ALL_EVENTS = 0 +TCL_ALL_EVENTS = 0 def RunSample (root): dirtree = DemoDirTree(root) @@ -30,7 +30,7 @@ class DemoDirTree: def __init__(self, w): self.root = w self.exit = -1 - + z = w.winfo_toplevel() z.wm_protocol("WM_DELETE_WINDOW", lambda self=self: self.quitcmd()) @@ -48,14 +48,14 @@ class DemoDirTree: # top.dir = Tix.DirTree(top) top.dir.hlist['width'] = 40 - + # When the user presses the ".." button, the selected directory # is "transferred" into the entry widget # top.btn = Tix.Button(top, text = " >> ", pady = 0) # We use a LabelEntry to hold the installation directory. The user - # can choose from the DirTree widget, or he can type in the directory + # can choose from the DirTree widget, or he can type in the directory # manually # top.ent = Tix.LabelEntry(top, label="Installation Directory:", @@ -115,4 +115,3 @@ class DemoDirTree: if __name__== '__main__' : root=Tix.Tk() RunSample(root) - |