module Slider:sig..end
Slider widget.
type t
type kind =
| |
Horizontal |
| |
HBar |
| |
Vertical |
| |
Circular |
Use Widget.slider or Widget.slider_with_action.
val triggers : Trigger.t listThe list of events that a Slider can react to. Currently this is the
concatenation of Trigger.[buttons_down; buttons_up; pointer_motion]
plus Sdl.Event.key_down.
val size : t -> int * int
val value : t -> intGet current value.
val get_max : t -> intval set : t -> int -> unitSet a new value.