Consistent naming conventions make the task of adding a new window easier. Give the new window a short, descriptive name. For purposes of exposition, the new window will be called trial. (In all the instructions which follow, you should replace the word trial with the name of the panel which you are creating.) Create a subdirectory $DSTOOL_USER/trial for the new code and resulting library.
We suggest the GUIDE program be used to construct the new interface window, not only because it simplifies the design process, but also because it actually produces most of the C language code needed to build the window. The parts which you must write or modify involve the handlers and any part of the window which must vary according to the dynamical system (eg., the number of fields may depend on the dimension of the phase space).
We will assume that a simple window consists entirely of a control panel with panel items. These panel items are composed of buttons, text fields, and settings. Here are the conventions to be followed while using GUIDE:
Run gxv on the file trial.G by typing gxv trial.G in order to generate GUIDE's C code for the new window.