mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			263 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			263 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
#! /usr/local/bin/python
 | 
						|
 | 
						|
# Test TextEdit widgets
 | 
						|
 | 
						|
def main():
 | 
						|
	from TextEdit import TextEdit
 | 
						|
	from WindowParent import WindowParent, MainLoop
 | 
						|
	w = WindowParent().create('Test TextEdit', (0, 0))
 | 
						|
	t = TextEdit().create(w, (40, 4))
 | 
						|
	w.realize()
 | 
						|
	MainLoop()
 | 
						|
 | 
						|
main()
 |