From: Guido van Rossum Date: Wed, 31 Oct 1990 11:21:56 +0000 (+0000) Subject: Changed resizing functionality. X-Git-Tag: v0.9.8~1129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6acc1b539aa007ad6896783031f473c2ebe11bc2;p=thirdparty%2FPython%2Fcpython.git Changed resizing functionality. --- diff --git a/Lib/lib-stdwin/Sliders.py b/Lib/lib-stdwin/Sliders.py index 6c2ef23b8c9a..b142ef4f7409 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 6c2ef23b8c9a..b142ef4f7409 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)): #