next up previous contents
Next: Panel Layout Up: Tina Windows Previous: Initialisation   Contents

Tools

Tina windows applications consist of one or more tools created by calling:

tw_tool(char *name, int posx, int posy)

which specifies a tool with given name positioned at (posx, posy).

Tools have a single control panel (to contain buttons, menus etc.) positioned above a single optional text window. After all entries in a tool have been specified a call to

tw_end_tool(void)

is required.

When all tools have been specified, a call to

tw_main_loop(void)

runs the application; this should be the last statement in main().


next up previous contents
Next: Panel Layout Up: Tina Windows Previous: Initialisation   Contents
root 2017-11-18