File browser and GDS Inset/Box composer

On this page two more complex pop-up elements are discussed: the file browser and the input set and box `composer'.

File Browser

The file browser enables the user to navigate the file system, and eventually select a file to be operated upon. A directory can be specified by selecting File Browser it in the directory panel to the left or by typing the name in the directory input field. It is possible for the program to specify a filter for selecting and transforming file names. A file browser can be closed by the user by pressing the ``CLOSE''-button, but it can also be closed by the program. For more information, see the document GgiFileBrowser.dc2
An example program can be downloaded here.

Inset/Box Composer

With the input set and box composer the user can specify an input set and subsequently any relevant subset and box. The user can type a name in the set name input field, or press the ``BROWSE''-button which causes a file browser to be popped up from which a set name can be selected. Inset/Box Composer As soon as a valid set name has been entered, the composer creates a number of rows, one per axis, containing the name of the axis, its extent in grid units, two buttons and an input field. The buttons can be used to specify whether the axis is a subset axis or to be used for the box. The input field can be used, dependent on the choice made with the buttons, to specify the box extent or one or more subsets. The usual defaults apply. When the user presses the ``OK''-button, the information present in the set/subset and box text fields are written to the keywords specified when the composer was created. Please note that the user is free to modify these fields before pressing the button.
      It is possible for the program to impose constraints on the dimensionality of the set and subset. The box specification is optional. If no keyword for a box is specified when the composer is created, there will be no box field. The ``HEADER''-button will pop up another window with detailed header information from the specified set. The composer can be closed by the user by pressing the ``CLOSE''-button, but it can also be closed by the program. For more information, see the document GgiInset.dc2 An example program can be downloaded here.


Programming GIPSY Maintained by J. P. Terlouw