mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Patch #485959: Various changes to Tix demos.
This commit is contained in:
		
							parent
							
								
									42ab61eeab
								
							
						
					
					
						commit
						8ec03e0528
					
				
					 14 changed files with 407 additions and 308 deletions
				
			
		|  | @ -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__': | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis