mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Implement lower by calling lower, not lift.
This commit is contained in:
		
							parent
							
								
									6b7a7e9fe0
								
							
						
					
					
						commit
						6e8ec59eb4
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -248,7 +248,7 @@ class Misc:
 | 
				
			||||||
	def send(self, interp, cmd, *args):
 | 
						def send(self, interp, cmd, *args):
 | 
				
			||||||
		return apply(self.tk.call, ('send', interp, cmd) + args)
 | 
							return apply(self.tk.call, ('send', interp, cmd) + args)
 | 
				
			||||||
	def lower(self, belowThis=None):
 | 
						def lower(self, belowThis=None):
 | 
				
			||||||
		self.tk.call('lift', self._w, belowThis)
 | 
							self.tk.call('lower', self._w, belowThis)
 | 
				
			||||||
	def tkraise(self, aboveThis=None):
 | 
						def tkraise(self, aboveThis=None):
 | 
				
			||||||
		self.tk.call('raise', self._w, aboveThis)
 | 
							self.tk.call('raise', self._w, aboveThis)
 | 
				
			||||||
	lift = tkraise
 | 
						lift = tkraise
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -248,7 +248,7 @@ class Misc:
 | 
				
			||||||
	def send(self, interp, cmd, *args):
 | 
						def send(self, interp, cmd, *args):
 | 
				
			||||||
		return apply(self.tk.call, ('send', interp, cmd) + args)
 | 
							return apply(self.tk.call, ('send', interp, cmd) + args)
 | 
				
			||||||
	def lower(self, belowThis=None):
 | 
						def lower(self, belowThis=None):
 | 
				
			||||||
		self.tk.call('lift', self._w, belowThis)
 | 
							self.tk.call('lower', self._w, belowThis)
 | 
				
			||||||
	def tkraise(self, aboveThis=None):
 | 
						def tkraise(self, aboveThis=None):
 | 
				
			||||||
		self.tk.call('raise', self._w, aboveThis)
 | 
							self.tk.call('raise', self._w, aboveThis)
 | 
				
			||||||
	lift = tkraise
 | 
						lift = tkraise
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue