hPotF, vPotF, et al

Types

hPotF :: Maybe Point -> F PotRequest (Int, Int, Int)
vPotF :: Maybe Point -> F PotRequest (Int, Int, Int)
data PotRequest = ResizePot Int Int | MovePot Int | PotMkVisible Int Int | 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 :: Maybe Point
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.