package stk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
SDL-based GUI toolkit
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-stk-0.5.0.tar.bz2
md5=beeed5752ff67b3abeb1bcf8fb6b9098
sha512=c1603ae66956a674864ad875212fdbfc8d8016983202108d492b0d8722106b1e982e9fdc04b20d1b7adf5013343252fc5173851751906271731bc81d70dc789c
doc/stk/Stk/Menu/class-menubar/index.html
Class Menu.menubarSource
Menubar widget.
This widget inherited from Box.box, with horizontal orientation by default, but vertical orientation is supported.
inherit Stk.Box.boxmethod add_item : ?pos:int -> menuitem -> unitMenu items must be added using this method rather than (inherited) #pack. pos can be used to specify the 0-based position of the item among items already present. Default is to insert after all existing items.
method append_item : menuitem -> unitSame as menubar.add_item but insert item as last item.
method prepend_item : menuitem -> unitSame as menubar.add_item but insert item as first item.
method remove_item : menuitem -> unitMenu items must be removed using this method rather than (inherited) #unpack.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>