|
Class: HorizontalSteppingSlider
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--ScrollBar
|
+--SteppingSlider
|
+--HorizontalSteppingSlider
- Package:
- stx:libwidg2
- Category:
- Views-Interactors
- Version:
- rev:
1.14
date: 2021/01/20 14:40:52
- user: cg
- file: HorizontalSteppingSlider.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
HorizontalSteppingSliders are like HorizontalSliders, but add step-up and step-down
buttons (which increment/decrement the value).
copyrightCOPYRIGHT (c) 1994 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
initialization
-
initialize
-
(comment from inherited method)
initialize; the increment is set to 1 (one)
see more examples in my superclass, SteppingSlider
|top sl|
top := StandardSystemView extent:200@200.
sl := HorizontalSteppingSlider in:top.
sl origin:(0.0@0.0) corner:(1.0@(sl preferredExtent y)).
sl scrollAction:[:pos | Transcript showCR:pos].
top open
|
|