mirror of
				https://github.com/python/cpython.git
				synced 2025-10-28 20:25:04 +00:00 
			
		
		
		
	Fixed Entry.select_from() to acually call the "select from" widget
command instead of the non-existant "select set". (Fred)
This commit is contained in:
		
							parent
							
								
									a25e5e9ae9
								
							
						
					
					
						commit
						42b78e6441
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1123,7 +1123,7 @@ def selection_clear(self): | ||||||
| 		self.tk.call(self._w, 'selection', 'clear') | 		self.tk.call(self._w, 'selection', 'clear') | ||||||
| 	select_clear = selection_clear | 	select_clear = selection_clear | ||||||
| 	def selection_from(self, index): | 	def selection_from(self, index): | ||||||
| 		self.tk.call(self._w, 'selection', 'set', index) | 		self.tk.call(self._w, 'selection', 'from', index) | ||||||
| 	select_from = selection_from | 	select_from = selection_from | ||||||
| 	def selection_present(self): | 	def selection_present(self): | ||||||
| 		return self.tk.getboolean( | 		return self.tk.getboolean( | ||||||
|  |  | ||||||
|  | @ -1123,7 +1123,7 @@ def selection_clear(self): | ||||||
| 		self.tk.call(self._w, 'selection', 'clear') | 		self.tk.call(self._w, 'selection', 'clear') | ||||||
| 	select_clear = selection_clear | 	select_clear = selection_clear | ||||||
| 	def selection_from(self, index): | 	def selection_from(self, index): | ||||||
| 		self.tk.call(self._w, 'selection', 'set', index) | 		self.tk.call(self._w, 'selection', 'from', index) | ||||||
| 	select_from = selection_from | 	select_from = selection_from | ||||||
| 	def selection_present(self): | 	def selection_present(self): | ||||||
| 		return self.tk.getboolean( | 		return self.tk.getboolean( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum