package stk

  1. Overview
  2. Docs
SDL-based GUI toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-stk-0.1.0.tar.bz2
md5=c334ffabde8b710f1eba6699db0f601a
sha512=7978e3f10bc196ee6177ded9ae0313a5ba65e1a74e501fbecbe5ebc216ca6ee7117deaff5bc4c414083a4a55851a81e5dedaa8d0a880ad72689b3f56f3b064f5

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_ : ?class_:string -> ?name:'b -> ?props:'c -> 'a -> object ... end
Sourceclass 'a label_cell : ?class_:string -> ?name:string -> ?props:Props.t -> to_data:('a -> string -> Props.t -> unit) -> of_data:('a -> string * Props.t option) -> 'a -> object ... end
Sourceval string_cell : ?class_:string -> ?name:string -> ?props:Props.t -> ?focusable:bool -> ('a -> string * Props.t option) -> ?to_data:('a -> string -> Props.t -> unit) -> 'a -> 'a cell
Sourceval int_cell : ?class_:string -> ?name:string -> ?props:Props.t -> ?focusable:bool -> ?to_data:('a -> int -> Props.t -> unit) -> ('a -> int * Props.t option) -> 'a -> 'a cell
Sourceclass 'a text_cell : ?class_:string -> ?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) -> 'a -> object ... end
Sourceval text_cell : ?class_:string -> ?name:string -> ?props:Props.t -> ?to_data: ('a -> (?start:int -> ?size:int -> ?stop:int -> unit -> string) -> Props.t -> unit) -> ('a -> string * Props.t option) -> 'a -> 'a cell
Sourcetype 'a column
Sourceval column : ?class_:string -> ?name:string -> ?props:Props.t -> ?header_props:Props.t -> ?sort_fun:('a -> 'a -> int) -> ?title:string -> ('a -> 'a cell) -> 'a column
Sourcetype sort_order =
  1. | Ascending
  2. | Descending
Sourcetype sorted = int * sort_order
Sourceclass 'a clist : ?class_:string -> ?name:string -> ?props:Props.t -> unit -> object ... end
Sourceval clist : ?class_:string -> ?name:string -> ?props:Props.t -> ?pack:(Widget.widget -> unit) -> ?selection_mode:Props.selection_mode -> ?show_headers:bool -> unit -> 'a clist
OCaml

Innovation. Community. Security.