mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fix typo and update comment obsoleted by 'syntax' patch
This commit is contained in:
		
							parent
							
								
									2bf2af6d9b
								
							
						
					
					
						commit
						3b148ca43d
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		|  | @ -6,7 +6,7 @@ | ||||||
| """ | """ | ||||||
| from Tkinter import * | from Tkinter import * | ||||||
| 
 | 
 | ||||||
| HIDE_VIRTUAL_EVENT_NAME = "<<caltipwindow-hide>>" | HIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-hide>>" | ||||||
| HIDE_SEQUENCES = ("<Key-Escape>", "<FocusOut>") | HIDE_SEQUENCES = ("<Key-Escape>", "<FocusOut>") | ||||||
| CHECKHIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-checkhide>>" | CHECKHIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-checkhide>>" | ||||||
| CHECKHIDE_SEQUENCES = ("<KeyRelease>", "<ButtonRelease>") | CHECKHIDE_SEQUENCES = ("<KeyRelease>", "<ButtonRelease>") | ||||||
|  | @ -60,10 +60,7 @@ def showtip(self, text, parenleft, parenright): | ||||||
| 
 | 
 | ||||||
|         self.tipwindow = tw = Toplevel(self.widget) |         self.tipwindow = tw = Toplevel(self.widget) | ||||||
|         self.position_window() |         self.position_window() | ||||||
|         # XXX 12 Dec 2002 KBK The following command has two effects: It removes |         # remove border on calltip window | ||||||
|         #     the calltip window border (good) but also causes (at least on |  | ||||||
|         #     Linux) the calltip to show as a top level window, burning through |  | ||||||
|         #     any other window dragged over it.  Also, shows on all viewports! |  | ||||||
|         tw.wm_overrideredirect(1) |         tw.wm_overrideredirect(1) | ||||||
|         try: |         try: | ||||||
|             # This command is only needed and available on Tk >= 8.4.0 for OSX |             # This command is only needed and available on Tk >= 8.4.0 for OSX | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser