From 6acc1b539aa007ad6896783031f473c2ebe11bc2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 31 Oct 1990 11:21:56 +0000 Subject: [PATCH] Changed resizing functionality. --- Lib/lib-stdwin/Sliders.py | 5 +++-- Lib/stdwin/Sliders.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Lib/lib-stdwin/Sliders.py b/Lib/lib-stdwin/Sliders.py index 6c2ef23b8c9..b142ef4f740 100644 --- a/Lib/lib-stdwin/Sliders.py +++ b/Lib/lib-stdwin/Sliders.py @@ -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)): # diff --git a/Lib/stdwin/Sliders.py b/Lib/stdwin/Sliders.py index 6c2ef23b8c9..b142ef4f740 100755 --- a/Lib/stdwin/Sliders.py +++ b/Lib/stdwin/Sliders.py @@ -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)): #