NAME

window_ctrl -- create unit to clear a predecessor window

PROTOTYPE

unitptr window_ctrl( char *pcWdw, int iCtrl, unitptr uHost)

ARGUMENTS

char *pcWdw
specifies which window to clear: if this string can be interpreted as an integer number iPos, the iPos -th successor window (if iPos>0 ) or the -iPos -th predecessor window (if iPos<0 ) is used; otherwise, a window that has pcWdw as its title is sought.
int iCtrl
initial value of ctrl pin
unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[2]:
(input field 0) new window position
Y_in[1]:
(input field 1) (text or numeric) referenced window
CTL_in[1]:
(control field)

EXECUTION OF CREATED UNIT:

Moves the window to the location specified in X_in. An initial target value for CTL_in can be set when the unit is created.

CONTROL MODES:

None.

STATUS:

Preliminary.

SEE ALSO:

FILE

/local/homes/rhaschke/nst7/man/../o.linx86_64//../nstsrc/nst_draw.c