diff options
author | Guido van Rossum <guido@python.org> | 1990-10-31 11:21:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-10-31 11:21:56 (GMT) |
commit | 6acc1b539aa007ad6896783031f473c2ebe11bc2 (patch) | |
tree | a19731a815b14ebb924121389d913888d9857869 | |
parent | e15607f3f930c5e292195490ae38135758fc31d2 (diff) | |
download | cpython-6acc1b539aa007ad6896783031f473c2ebe11bc2.zip cpython-6acc1b539aa007ad6896783031f473c2ebe11bc2.tar.gz cpython-6acc1b539aa007ad6896783031f473c2ebe11bc2.tar.bz2 |
Changed resizing functionality.
-rw-r--r-- | Lib/lib-stdwin/Sliders.py | 5 | ||||
-rwxr-xr-x | 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 6c2ef23..b142ef4 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 6c2ef23..b142ef4 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)): # |