Stk.RangeRange widget.
This widget allows selecting a float value between two bounds.
All properties are not inherited.
val value : float Props.propProperty "range_value" to store the currnt value of the range.
val step : float Props.propProperty "range_step" to specify a step. Used when some left/right or up/down arrows are pressed. Default is 0.1.
val bigstep : float Props.propProperty "range_bigstep" to specify a step. Used when some page up/down keys are pressed. Default is 1..
val pole_size : int Props.propProperty "pole_size" defines, in pixels, vertical or horizontal size of range poles. Default is 15.
val pole_width : int Props.propProperty "pole_width" defines, in pixels, the width of range poles. Default is 4.
val pole_color_low : Color.t Props.propProperty "pole_color_low" defines the color of the lower bound pole.
val css_pole_color_low : Color.t Css.P.propval pole_color_high : Color.t Props.propProperty "pole_color_high" defines the color of the upper bound pole.
val css_pole_color_high : Color.t Css.P.propval line_width : int Props.propProperty "range_line_width" defines the width, in pixels, of the line between the two poles. Default is 2.
val cursor_bg_color : Color.t Props.propProperty "range_cursor_bg_color" defines the background color of range cursor.
val css_cursor_bg_color : Color.t Css.P.propval cursor_border_color : Color.t Props.propProperty "range_cursor_border_color" defines the border color of range cursor.
val css_cursor_border_color : Color.t Css.P.propclass range : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... endThe range widget.
val range :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?orientation:Props.orientation ->
?range:(float * float) ->
?step:float ->
?bigstep:float ->
?value:float ->
?pack:(Widget.widget -> unit) ->
unit ->
rangeConvenient function to create a range. See Widget arguments for optional arguments classes, name, props and pack. Other arguments will set range properties.
val hrange :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?range:(float * float) ->
?step:float ->
?bigstep:float ->
?value:float ->
?pack:(Widget.widget -> unit) ->
unit ->
rangeval vrange :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?range:(float * float) ->
?step:float ->
?bigstep:float ->
?value:float ->
?pack:(Widget.widget -> unit) ->
unit ->
range