{0 Stk}

{!Stk} is GUI toolkit based on SDL
(through {{:https://erratique.ch/software/tsdl}Tsdl} bindings):
It provides various widgets and utilities to create graphical applications.

{{:https://github.com/ocsigen/lwt}Lwt} is used to provide pseudo-parallelism
in event handling.



{1:base Base modules}

{!modules: Stk.App
Stk.Color
Stk.App
Stk.Color
Stk.Events
Stk.Font
Stk.G
Stk.Key
Stk.Log
Stk.Object
Stk.Props
Stk.Selection
Stk.Theme
Stk.Utf8
}

{1:widgets Widgets}

See also {!page-widget_hierarchy}.

{ul
{- Buttons:
   {{!Stk.Button.class-button}button},
   {{!Stk.Button.class-checkbutton}checkbutton},
   {{!Stk.Button.class-togglebutton}togglebutton}
}
{- Canvas:
   {{!Stk.Canvas.class-canvas}canvas},
   {{!Stk.Canvas.class-box}box},
   {{!Stk.Canvas.class-fixed_size}fixed_size},
   {{!Stk.Canvas.class-flex}flex},
   {{!Stk.Canvas.class-group}group},
   {{!Stk.Canvas.class-glyph}glyph},
   {{!Stk.Canvas.class-label}label},
   {{!Stk.Canvas.class-paned}paned},
   {{!Stk.Canvas.class-rect}rect}
}
{- Containers:
    {{!Stk.Pack.class-box}box},
    {{!Stk.Flex.class-flex}flex},
    {{!Stk.Pack.class-paned}paned},
    {{!Stk.Notebook.class-notebook}notebook}
}
{- Menus:
    {{!Stk.Menu.class-menuitem}menuitem},
    {{!Stk.Menu.class-menu}menu},
    {{!Stk.Menu.class-menubar}menubar}
}
{- Simple containers:
     {{!Stk.Bin.class-event_box}event_box},
     {{!Stk.Frame.class-frame}frame},
     {{!Stk.Bin.class-scrollbox}scrollbox}
}
{- Text display:
     {{!Stk.Text.class-label}label},
     {{!Stk.Text.class-glyph}glyph},
     {{!Stk.Textlog.class-textlog}textlog}
}
{- Text edition:
     {{!Stk.Edit.class-entry}entry},
     {{!Stk.Textview.class-textview}textview}
}
{- {{!Stk.Clist}clist} }
{- {{!Stk.Image}image} }
{- {{!Stk.Range}range} }
{- {{!Stk.Tree}tree} }
{- {{!Stk.Window.class-window}window} }
}

{1:utils Utils}

{!modules:
Stk.Default_app
Stk.Dialog
Stk.Misc
Stk.Wkey
}


