]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add destrpy() method.
authorGuido van Rossum <guido@python.org>
Sun, 21 Apr 1991 19:27:28 +0000 (19:27 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 21 Apr 1991 19:27:28 +0000 (19:27 +0000)
Lib/lib-stdwin/StripChart.py
Lib/stdwin/StripChart.py

index ac767c3e110f94659214de56443a69f84ec88666..e97dae2778f1dac69563cd67808e77fa507266a5 100644 (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()
index ac767c3e110f94659214de56443a69f84ec88666..e97dae2778f1dac69563cd67808e77fa507266a5 100755 (executable)
@@ -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()