summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-04-21 19:27:28 (GMT)
committerGuido van Rossum <guido@python.org>1991-04-21 19:27:28 (GMT)
commit7912b008cf432a5408612fff77d4749793678dc9 (patch)
tree53e8d418ddd1e01a84a66dcefbd3a5d7e8d7e14a /Lib/stdwin
parentb8f5c093dc0b6d603fbfb1ef2566667ef55ad6d6 (diff)
downloadcpython-7912b008cf432a5408612fff77d4749793678dc9.zip
cpython-7912b008cf432a5408612fff77d4749793678dc9.tar.gz
cpython-7912b008cf432a5408612fff77d4749793678dc9.tar.bz2
Add destrpy() method.
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-xLib/stdwin/StripChart.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/stdwin/StripChart.py b/Lib/stdwin/StripChart.py
index ac767c3..e97dae2 100755
--- a/Lib/stdwin/StripChart.py
+++ b/Lib/stdwin/StripChart.py
@@ -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()