mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Add destrpy() method.
This commit is contained in:
		
							parent
							
								
									b8f5c093dc
								
							
						
					
					
						commit
						7912b008cf
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,9 @@ class StripChart() = LabelAppearance(), NoReactivity():
 | 
			
		|||
		self.resetbounds()
 | 
			
		||||
		return self
 | 
			
		||||
	#
 | 
			
		||||
	def destroy(self):
 | 
			
		||||
		self.parent = 0
 | 
			
		||||
	#
 | 
			
		||||
	def setbounds(self, bounds):
 | 
			
		||||
		LabelAppearance.setbounds(self, bounds)
 | 
			
		||||
		self.resetbounds()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,9 @@ class StripChart() = LabelAppearance(), NoReactivity():
 | 
			
		|||
		self.resetbounds()
 | 
			
		||||
		return self
 | 
			
		||||
	#
 | 
			
		||||
	def destroy(self):
 | 
			
		||||
		self.parent = 0
 | 
			
		||||
	#
 | 
			
		||||
	def setbounds(self, bounds):
 | 
			
		||||
		LabelAppearance.setbounds(self, bounds)
 | 
			
		||||
		self.resetbounds()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue