package stk

  1. Overview
  2. Docs

The range widget.

Properties

method value : float
method set_value : float -> unit

Setting a value out or bounds will only log an error message.

method norm_value : float

Normalized value, i.e. between 0. and 1..

method range : float * float
method set_range : (float * float) -> unit
method orientation : Stk.Props.orientation
method set_orientation : Stk.Props.orientation -> unit
method line_width : int
method set_line_width : int -> unit
method pole_width : int
method set_pole_width : int -> unit
method pole_size : int
method set_pole_size : int -> unit
method cursor_width : int
method set_cursor_width : int -> unit
method cursor_bg_color : Stk.Color.t
method set_cursor_bg_color : Stk.Color.t -> unit
method cursor_border_color : Stk.Color.t
method set_cursor_border_color : Stk.Color.t -> unit
method step : float
method set_step : float -> unit
method bigstep : float
method set_bigstep : float -> unit
OCaml

Innovation. Community. Security.