Add destrpy() method.

This commit is contained in:
Guido van Rossum 1991-04-21 19:27:28 +00:00
parent b8f5c093dc
commit 7912b008cf
2 changed files with 6 additions and 0 deletions

View File

@ -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()

View File

@ -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()