ยค hPotF, vPotF, et al
Types
hPotF :: F PotRequest PotState
vPotF :: F PotRequest PotState
data PotRequest = ResizePot Int Int
| MovePot Int
| PotMkVisible Int Int (Maybe Alignment)
| PotInput (ModState, KeySym)
Synopsis
hPotF optsize
Description
Horizontal and vertical scroll bars.
The state of a scroll bar is described by a triple (pos,vis,tot)
,
where pos
is the first visible unit,
vis
is the number of visible units
and tot
is the total number of units.
Input
changes the state of the scroll bar.
Output
new state of the scroll bar whenever the user moves it.
Arguments
optsize :: ??
- Optional initial size of the scrool bar. This can be
used to set the width (height) of a vertical (horizontal)
scroll bar.
See Also
scrollF
Bugs
These are likely to change, and should prabably not be used directly
outside the fudget library.