package stk

  1. Overview
  2. Docs
SDL-based GUI toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-stk-0.2.0.tar.bz2
md5=84927cce2b859a484df176163a68a21c
sha512=7d79d0b18c1550d59932ec27e5162f5ec5cfeb6560de32224cc7915f392e11d2c2fd94c44128b4b828b6ed700c2f079d120b2423874d71544e71bbab9253e870

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.