| 
									
										
										
										
											1999-09-26 12:25:06 +00:00
										 |  |  | import W | 
					
						
							| 
									
										
										
										
											2001-08-25 12:15:04 +00:00
										 |  |  | from Carbon import Windows | 
					
						
							| 
									
										
										
										
											1999-09-26 12:25:06 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | w = W.ModalDialog((100, 100)) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | w.ed = W.EditText((10, 10, 80, 50)) | 
					
						
							|  |  |  | w.ok = W.Button((10, 70, 80, 16), "Ok", w.close) | 
					
						
							|  |  |  | w.setdefaultbutton(w.ok) | 
					
						
							|  |  |  | w.open() |