package stk
SDL-based GUI toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-stk-0.4.0.tar.bz2
md5=4a7d5aeecb002fa711a6eb002a544713
sha512=f2efc05917d5916980a8d09426b629028a748c00c19667b0bf4e0cf0c8811d80b5a693b95f662301bfbe3162cefd73e7f02e98cb5c1020876cbcf9fc81930434
doc/stk/Stk/Canvas/class-group/index.html
Class Canvas.group
Source
A group is a [full_item
] container_item
. Its kind is "canvas_group"
.
inherit container_item
method as_group : group
method items : full_item_ list
method add_item : ?x:int -> ?y:int -> full_item -> unit
Adds the given item to group. The item's coordinates can be set with x
and y
optional arguments.
method remove_item : full_item -> unit
Removes the given item from the group.
method raise : full_item -> unit
Raises the given item above all the other items of the group.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>