Stk.ScrollboxSourceScrollboxes.
Policy for scrollbars:
`ALWAYS: always displays scrollbar, even when not needed.`NEVER: never displays scrollbar, even when needed.`AUTOMATIC: displays scrollbar only when needed, i.e. when child content is larger than the scrollbox in the considered direction (horizontal or vertical).`NOSCROLL: do not scroll, constraint child with available width or height.Ocf wrapper for scrollbar_policy.
val css_scrollbar_policy_prop :
?inherited:bool ->
?def:scrollbar_policy ->
scrollbar_policy Props.prop ->
scrollbar_policy Css.P.propclass scrollbox : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... endScrollbox widget.
val scrollbox :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?hpolicy:scrollbar_policy ->
?vpolicy:scrollbar_policy ->
?hcovers_child:bool ->
?vcovers_child:bool ->
?pack:(Widget.widget -> unit) ->
unit ->
scrollboxConvenient function to create a scrollbox. hpolicy and vpolicy optional arguments specify horizontal and vertical scrollbar policies. See Widget arguments for other arguments.