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.
The Stk_iconv
library provides bindings to
GNU libiconv,
to convert strings to and from UTF-8, which is the format of strings
in OCaml-stk.
Library reference documentation:
The file
test/example.ml
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.
The stk
and stk_iconv
packages
are installable with opam:
$ opam install stk stk_iconv
Current state of OCaml-stk can be installed with:
$ opam pin add stk git@framagit.org:zoggy/ocaml-stk.git $ opam pin add stk_iconv git@framagit.org:zoggy/ocaml-stk.git
OCaml-stk is released under the GPL v3.
Maxence Guesdon <Maxence 'DOT' Guesdon 'AT' inria 'DOT' fr>