diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 18:19:13 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 18:19:13 (GMT) |
| commit | 8ec03e0528d93c6b7cc9cf07d2f24e541661ba70 (patch) | |
| tree | 0a35cc3a6464e7d4c5b03e260978a1e107ac7449 /Demo/tix/samples/OptMenu.py | |
| parent | 42ab61eeabe45359f46a8378e572e5c73a8adb36 (diff) | |
| download | cpython-8ec03e0528d93c6b7cc9cf07d2f24e541661ba70.zip cpython-8ec03e0528d93c6b7cc9cf07d2f24e541661ba70.tar.gz cpython-8ec03e0528d93c6b7cc9cf07d2f24e541661ba70.tar.bz2 | |
Patch #485959: Various changes to Tix demos.
Diffstat (limited to 'Demo/tix/samples/OptMenu.py')
| -rwxr-xr-x | Demo/tix/samples/OptMenu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/tix/samples/OptMenu.py b/Demo/tix/samples/OptMenu.py index 2d05938..ecb0c86 100755 --- a/Demo/tix/samples/OptMenu.py +++ b/Demo/tix/samples/OptMenu.py @@ -1,11 +1,11 @@ -#!/usr/local/bin/python +# -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*- # # $Id$ # # Tix Demostration Program # # This sample program is structured in such a way so that it can be -# executed from the Tix demo program "tixwidgets": it must have a +# executed from the Tix demo program "tixwidgets.py": it must have a # procedure called "RunSample". It should also have the "if" statment # at the end of this file so that it can be run as a standalone # program. @@ -59,7 +59,7 @@ def RunSample(w): top.pack(side=Tix.TOP, fill=Tix.BOTH, expand=1) def ok_command(w): - print "Convert file from", demo_opt_from.get(), " to", demo_opt_to.get() + # tixDemo:Status "Convert file from %s to %s" % ( demo_opt_from.get(), demo_opt_to.get()) w.destroy() if __name__ == '__main__': |
