Subtools in Tina windows are also created with the same function as tools:
tw_tool(char *name, int x, int y);
Their entries are described with exactly the same syntax as tools. All entries described above are allowed; in the case of a textsw this will become the new preferred destination of output from Tina print functions such as format. After entries have been specified there must be a call to
tw_end_tool(void);
Subtools iconify separately from the top level tool.