package stk
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.Dialog
Source
Dialog windows.
Source
class 'a dialog : ?classes:'b option -> (unit ->
unit) -> Window.window -> Bin.bin -> unit Pack.box -> object ... end
Source
val 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
Source
val 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)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>