package stk
SDL-based GUI toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-stk-0.5.0.tar.bz2
md5=beeed5752ff67b3abeb1bcf8fb6b9098
sha512=c1603ae66956a674864ad875212fdbfc8d8016983202108d492b0d8722106b1e982e9fdc04b20d1b7adf5013343252fc5173851751906271731bc81d70dc789c
doc/stk/Stk/Container/index.html
Module Stk.Container
Source
Container widget.
Type of data which can be associated to child widgets.
A container child, with optional data associated.
Source
class virtual 'pos container : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... end
A container widget is a widget which can contain other widgets. The type parameter is the type of the position of a widget in the container. This class must be inherited, as it is for example by container_list
, which specialises this class by using a list to store children widgets.
Source
class virtual container_list : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> unit -> object ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>