Module Bogue.Slider

module Slider: sig .. end

Slider widget.

Dependency graph

type t 
type kind = 
| Horizontal
| HBar
| Vertical
| Circular
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.