package stk
SDL-based GUI toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-stk-0.1.0.tar.bz2
md5=c334ffabde8b710f1eba6699db0f601a
sha512=7978e3f10bc196ee6177ded9ae0313a5ba65e1a74e501fbecbe5ebc216ca6ee7117deaff5bc4c414083a4a55851a81e5dedaa8d0a880ad72689b3f56f3b064f5
doc/stk/Stk/Image/class-image/index.html
Class Image.image
Source
A widget to display an image.
inherit Stk.Widget.widget
Properties
Returns orignal (width, height) of image, if an image is loaded.
method load_rw : Tsdl.Sdl.rw_ops -> unit
Load image from rw operations. Beware that this may be a io-blocking operation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page