next up previous contents
Next: Example Program Up: Tina Windows Previous: Subtools   Contents

Dialog Boxes

Sometimes a tool is required only for a limited time, for example to change parameter values, and can then be dismissed without the need for an icon. In this case a dialog box should be used rather than a tool. The are created with a call to

tw_dialog(char *name)

Dialog entries are described with exactly the same syntax as tools. They can contain anything other than text subwindows. After specifying their entries there should be a call to

tw_end_dialog(void)

The have either a pushpin (XView) or a dismiss button (Motif).


next up previous contents
Next: Example Program Up: Tina Windows Previous: Subtools   Contents
root 2017-11-18