Stk.RangeSourceRange widget.
This widget allows selecting a float value between two bounds.
All properties are not inherited.
Property "range_value" to store the currnt value of the range.
Property "range_step" to specify a step. Used when some left/right or up/down arrows are pressed. Default is 0.1.
Property "range_bigstep" to specify a step. Used when some page up/down keys are pressed. Default is 1..
Property "pole_size" defines, in pixels, vertical or horizontal size of range poles. Default is 15.
Property "pole_width" defines, in pixels, the width of range poles. Default is 4.
Property "pole_color_low" defines the color of the lower bound pole.
Property "pole_color_high" defines the color of the upper bound pole.
Property "range_line_width" defines the width, in pixels, of the line between the two poles. Default is 2.
Property "range_cursor_bg_color" defines the background color of range cursor.
Property "range_cursor_border_color" defines the border color of range cursor.
class 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