Stk.BoxSourceStacker boxes.
Property "inter_padding" used to specify a space between packed children. Default is 0.
class box : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... endA box is a Container.container which stacks its children, giving each one more or less space according to its size and properties. Widgets can be stacked horizontally or vertically (depending on the Props.orientation property). The widget has class "vertical" or "horizontal" depending on orientation.
val box :
orientation:Props.orientation ->
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?inter_padding:int ->
?pack:(Widget.widget -> unit) ->
unit ->
boxConvenient function to create a box. See Widget arguments for other arguments.
val hbox :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?inter_padding:int ->
?pack:(Widget.widget -> unit) ->
unit ->
boxSame as box but orientation is already fixed to Horizontal.
val vbox :
?classes:string list ->
?name:string ->
?props:Props.t ->
?wdata:Widget.wdata ->
?inter_padding:int ->
?pack:(Widget.widget -> unit) ->
unit ->
boxSame as box but orientation is already fixed to Vertical.