package stk
SDL-based GUI toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-stk-0.2.0.tar.bz2
md5=84927cce2b859a484df176163a68a21c
sha512=7d79d0b18c1550d59932ec27e5162f5ec5cfeb6560de32224cc7915f392e11d2c2fd94c44128b4b828b6ed700c2f079d120b2423874d71544e71bbab9253e870
doc/index.html
Stk
Stk
is GUI toolkit based on SDL (through Tsdl bindings): It provides various widgets and utilities to create graphical applications.
Lwt is used to provide pseudo-parallelism in event handling.
Base modules
Stk.App
STK application.Stk.Color
Colors.Stk.App
STK application.Stk.Color
Colors.Stk.Events
Events and callback registration.Stk.Font
Fonts.Stk.G
Geometry.Stk.Key
Utils for managing keys.Stk.Log
Logging.Stk.Object
Objects.Stk.Props
Properties and their values.Stk.Selection
Handling current selection.Stk.Theme
Theming widgets.Stk.Utf8
Handling UTF-8 strings.
Widgets
See also widget_hierarchy
.
- Buttons: button, checkbutton, togglebutton
- Canvas: canvas, box, fixed_size, flex, group, glyph, label, paned, rect
- Containers: box, flex, paned, notebook, table
- Menus: menuitem, menu, menubar
- Simple containers: event_box, frame, scrollbox
- Text display: label, glyph, textlog
- Text edition: entry, textview
- calendar
- clist
- image
- range
- tree
- window
Utils
Stk.Default_app
Default application.Stk.Dialog
Dialog windows.Stk.Misc
Utilities.Stk.Wkey
Convenient functions to handle key press events in widgets.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page