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 list
The 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 -> int
Get current value.
val get_max : t -> int
val set : t -> int -> unit
Set a new value.