]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changed resizing functionality.
authorGuido van Rossum <guido@python.org>
Wed, 31 Oct 1990 11:21:56 +0000 (11:21 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 31 Oct 1990 11:21:56 +0000 (11:21 +0000)
Lib/lib-stdwin/Sliders.py
Lib/stdwin/Sliders.py

index 6c2ef23b8c9ab3ab915cda4f28d0e11d2b52b3aa..b142ef4f74095fce8a2eca2ed25d3ff1bd9de3e2 100644 (file)
@@ -7,6 +7,7 @@ import stdwin
 from stdwinevents import *
 import rect
 from Buttons import *
+from Resize import *
 
 
 # Field indices in event detail
@@ -42,7 +43,7 @@ class DragSliderReactivity() = NoReactivity():
                        self.active = 0
        #
 
-class DragSliderAppearance() = ButtonAppearance():
+class DragSliderAppearance() = NoResize(), ButtonAppearance():
        #
        def define(self, (win, bounds)):
                self.min = 0
@@ -109,7 +110,7 @@ class _SubClassicButton() = ClassicButton():
 # A complex slider is a wrapper around three buttons:
 # One to step down, a dragslider, and one to step up.
 #
-class ComplexSlider() = LabelAppearance(), NoReactivity():
+class ComplexSlider() = NoResize(), LabelAppearance(), NoReactivity():
        #
        def define(self, (win, bounds)):
                #
index 6c2ef23b8c9ab3ab915cda4f28d0e11d2b52b3aa..b142ef4f74095fce8a2eca2ed25d3ff1bd9de3e2 100755 (executable)
@@ -7,6 +7,7 @@ import stdwin
 from stdwinevents import *
 import rect
 from Buttons import *
+from Resize import *
 
 
 # Field indices in event detail
@@ -42,7 +43,7 @@ class DragSliderReactivity() = NoReactivity():
                        self.active = 0
        #
 
-class DragSliderAppearance() = ButtonAppearance():
+class DragSliderAppearance() = NoResize(), ButtonAppearance():
        #
        def define(self, (win, bounds)):
                self.min = 0
@@ -109,7 +110,7 @@ class _SubClassicButton() = ClassicButton():
 # A complex slider is a wrapper around three buttons:
 # One to step down, a dragslider, and one to step up.
 #
-class ComplexSlider() = LabelAppearance(), NoReactivity():
+class ComplexSlider() = NoResize(), LabelAppearance(), NoReactivity():
        #
        def define(self, (win, bounds)):
                #