diff options
author | Guido van Rossum <guido@python.org> | 1991-04-21 19:27:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-04-21 19:27:28 (GMT) |
commit | 7912b008cf432a5408612fff77d4749793678dc9 (patch) | |
tree | 53e8d418ddd1e01a84a66dcefbd3a5d7e8d7e14a /Lib | |
parent | b8f5c093dc0b6d603fbfb1ef2566667ef55ad6d6 (diff) | |
download | cpython-7912b008cf432a5408612fff77d4749793678dc9.zip cpython-7912b008cf432a5408612fff77d4749793678dc9.tar.gz cpython-7912b008cf432a5408612fff77d4749793678dc9.tar.bz2 |
Add destrpy() method.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib-stdwin/StripChart.py | 3 | ||||
-rwxr-xr-x | Lib/stdwin/StripChart.py | 3 |
2 files changed, 6 insertions, 0 deletions
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() |