OCaml-stk is a Graphical User Interfce toolkit for OCaml based on libSDL 2, through the Tsdl bindings.
Lwt is used to provide pseudo-parallelism in event handling.
Stk is still in development but already provides various widgets.
Stk_iconv library provides bindings to
to convert strings to and from UTF-8, which is the format of strings
Library reference documentation:
in the repository shows a minimal application (just a window). Other test programs
in test/ provide
some usage examples of widgets.
OCaml-stk development is hosted on Framagit.
Stk is used in Chamo.
are installable with opam:
$ opam install stk stk_iconv
Current state of OCaml-stk can be installed with:
$ opam pin add stk email@example.com:zoggy/ocaml-stk.git $ opam pin add stk_iconv firstname.lastname@example.org:zoggy/ocaml-stk.git
OCaml-stk is released under the GPL v3.
Maxence Guesdon <Maxence 'DOT' Guesdon 'AT' inria 'DOT' fr>