Previous: , Up: The curses form library   [Contents][Index]

5.6.19 Form windows

Procedure: set-form-win form win
Procedure: form-win form
Procedure: set-form-sub form sub
Procedure: form-sub form
Procedure: scale-form form

Every form has an associated pair of curses windows. The form window displays any title and border associated with the window; the form sub-window displays the items of the form that are currently available for selection.

The first four functions get and set those windows. It is not necessary to set either window; by default, the driver code uses stdscr for both.

The function scale-form returns the a list of two elements: minimum size required for the subwindow of form.