From 7912b008cf432a5408612fff77d4749793678dc9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 21 Apr 1991 19:27:28 +0000 Subject: Add destrpy() method. --- Lib/lib-stdwin/StripChart.py | 3 +++ Lib/stdwin/StripChart.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Lib/lib-stdwin/StripChart.py b/Lib/lib-stdwin/StripChart.py index ac767c3..e97dae2 100644 --- a/Lib/lib-stdwin/StripChart.py +++ b/Lib/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() 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() -- cgit v0.12