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/PopMenu.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/PopMenu.py')
-rwxr-xr-x | Demo/tix/samples/PopMenu.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demo/tix/samples/PopMenu.py b/Demo/tix/samples/PopMenu.py index 602eafd..32f3229 100755 --- a/Demo/tix/samples/PopMenu.py +++ b/Demo/tix/samples/PopMenu.py @@ -1,6 +1,6 @@ # -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*- # -# $Id$ +# $Id$ # # Tix Demostration Program # @@ -27,9 +27,9 @@ def RunSample(w): p.bind_widget(top) p.bind_widget(but) - # Set the entries inside the PopupMenu widget. + # Set the entries inside the PopupMenu widget. # [Hint] You have to manipulate the "menu" subwidget. - # $w.top.p itself is NOT a menu widget. + # $w.top.p itself is NOT a menu widget. # [Hint] Watch carefully how the sub-menu is created # p.menu.add_command(label='Desktop', underline=0) @@ -45,9 +45,9 @@ def RunSample(w): box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL) box.add('ok', text='Ok', underline=0, width=6, - command=lambda w=w: w.destroy()) + command=lambda w=w: w.destroy()) box.add('cancel', text='Cancel', underline=0, width=6, - command=lambda w=w: w.destroy()) + command=lambda w=w: w.destroy()) box.pack(side=Tix.BOTTOM, fill=Tix.X) top.pack(side=Tix.TOP, fill=Tix.BOTH, expand=1) |