package stk

  1. Overview
  2. Docs
SDL-based GUI toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-stk-0.5.0.tar.bz2
md5=beeed5752ff67b3abeb1bcf8fb6b9098
sha512=c1603ae66956a674864ad875212fdbfc8d8016983202108d492b0d8722106b1e982e9fdc04b20d1b7adf5013343252fc5173851751906271731bc81d70dc789c

doc/stk/Stk/Clist/index.html

Module Stk.ClistSource

Multi-column list widget.

Sourceval show_headers : bool Props.prop
Sourceval title : string Props.prop
Sourceval header_props : Props.t Props.prop
Sourceval line_separator_width : int Props.prop
Sourceval line_separator_color : int32 Props.prop
Sourceval column_separator_width : int Props.prop
Sourceval column_separator_color : int32 Props.prop
Sourceval row_height : int Props.prop
Sourcetype Events.ev +=
  1. | Row_removed : ((int * 'a) -> unit) Events.ev
  2. | Data_set : ('a list -> unit) Events.ev
  3. | Row_inserted : ((int * 'a) -> unit) Events.ev
  4. | Row_selected : ((int * 'a) -> unit) Events.ev
  5. | Row_unselected : ((int * 'a) -> unit) Events.ev
  6. | Row_updated : ((int * 'a * 'a) -> unit) Events.ev
Sourceclass type 'a cell = object ... end
Sourceclass virtual 'a cell_ : ?classes:string list -> ?name:'b -> ?props:'c -> unit -> object ... end
Sourceclass 'a label_cell : ?classes:string list -> ?name:string -> ?props:Props.t -> to_data:( 'a -> string -> Props.t -> unit) -> of_data:('a -> string * Props.t option) -> unit -> object ... end
Sourceval string_cell : ?classes:string list -> ?name:string -> ?props:Props.t -> ?focusable:bool -> ('a -> string * Props.t option) -> ?to_data:('a -> string -> Props.t -> unit) -> unit -> 'a cell
Sourceval int_cell : ?classes:string list -> ?name:string -> ?props:Props.t -> ?focusable:bool -> ?to_data:('a -> int -> Props.t -> unit) -> ('a -> int * Props.t option) -> unit -> 'a cell
Sourceclass 'a text_cell : ?classes:string list -> ?name:string -> ?props:Props.t -> to_data:( 'a -> (?start:int -> ?size:int -> ?stop:int -> unit -> string) -> Props.t -> unit) -> of_data:('a -> string * Props.t option) -> unit -> object ... end
Sourceval text_cell : ?classes:string list -> ?name:string -> ?props:Props.t -> ?to_data: ('a -> (?start:int -> ?size:int -> ?stop:int -> unit -> string) -> Props.t -> unit) -> ('a -> string * Props.t option) -> unit -> 'a cell
Sourcetype 'a column
Sourceval column : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?header_props:Props.t -> ?sort_fun:('a -> 'a -> int) -> ?title:string -> (unit -> 'a cell) -> 'a column
Sourcetype sort_order =
  1. | Ascending
  2. | Descending
Sourcetype sorted = int * sort_order
Sourceclass 'a clist : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> unit -> object ... end
Sourceval clist : ?classes:string list -> ?name:string -> ?props:Props.t -> ?wdata:Widget.wdata -> ?pack:(Widget.widget -> unit) -> ?selection_mode:Props.selection_mode -> ?show_headers:bool -> unit -> 'a clist
OCaml

Innovation. Community. Security.