Module Stk.TableSource

Table widget.

Sourceval p_rows : int Props.prop
Sourceval p_columns : int Props.prop
Sourceval column_inter_padding : int Props.prop

Property "column_inter_padding" use to specify a space between two columns. Default is 0.

Sourceval css_column_inter_padding : int Css.P.prop
Sourceval row_inter_padding : int Props.prop

Property "row_inter_padding" use to specify a space between two rows. Default is 0.

Sourceval css_row_inter_padding : int Css.P.prop
Sourceval row_span : int Props.prop

How many rows a widget spans. Default is 1.

Sourceval css_row_span : int Css.P.prop
Sourceval column_span : int Props.prop

How many columns a widget spans. Default is 1.

Sourceval css_column_span : int Css.P.prop
Sourcetype position = int * int
Sourcetype child =
  1. | Child of Container.child
  2. | Span of position
Sourceclass table : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata: Widget.wdata option -> unit -> object ... end

A widget containing widgets in a fixed number of rows and columns. It specialises Container.container to store children widgets in arrays.

Sourcetype Widget.widget_type +=
  1. | Table of table
Sourceval table : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?rows:int -> ?columns:int -> ?pack:(Widget.widget -> unit) -> unit -> table