package bogue

  1. Overview
  2. Docs

Slider widget.

Dependency graph
type t
type kind =
  1. | Horizontal
  2. | HBar
  3. | Vertical
  4. | 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.

OCaml

Innovation. Community. Security.