package stk

  1. Overview
  2. Docs
SDL-based GUI toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-stk-0.3.0.tar.bz2
md5=bf3724827aa00f2b5072a9f5e5e9293f
sha512=c7804040165317533b1bbaa6a23374a0bce5ba6976a2f48b49c90aa43c510b03134a1b2c353485365f4dd0cee8cb72d7fbe7558ee52e758db886771e262262d8

doc/stk/Stk/Dialog/index.html

Module Stk.DialogSource

Dialog windows.

Sourceclass 'a dialog : ?classes:'b option -> (unit -> unit) -> Window.window -> Bin.bin -> unit Pack.box -> object ... end
Sourcetype behaviour = [
  1. | `Destroy_on_return
  2. | `Hide_on_return
  3. | `Modal_for of Window.window
]
Sourceval dialog : ?classes:string list -> ?behaviour: [ `Destroy_on_return | `Hide_on_return | `Modal_for of Window.window ] -> ?flags:Tsdl.Sdl.Window.flags -> ?rflags:Tsdl.Sdl.Renderer.flags -> ?resizable:bool -> ?x:int -> ?y:int -> ?w:int -> ?h:int -> string -> 'a dialog
Sourceval simple_input : ?classes:string list -> ?behaviour: [ `Destroy_on_return | `Hide_on_return | `Modal_for of Window.window ] -> ?flags:Tsdl.Sdl.Window.flags -> ?rflags:Tsdl.Sdl.Renderer.flags -> ?x:int -> ?y:int -> ?w:int -> ?h:int -> ?ok:string -> ?cancel:string -> ?orientation:Props.orientation -> ?msg:string -> ?input:[< `Line | `Text Line ] -> ?text:string -> string -> string dialog * (unit -> string)
OCaml

Innovation. Community. Security.