Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tie(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

tie()  —  Silicon Graphics

NAME

tie - ties two valuators to a button

SPECIFICATION

C
tie(b, v1, v2)
Device b, v1, v2;

FORTRAN
subroutine tie(b, v1, v2)
integer*4 b, v1, v2

Pascal
procedure tie(b, v1, v2: Device);

DESCRIPTION

tie takes three arguments, a button b and two valuators v1 and v2.  Whenever the button is queued, the valuators are also queued.  If the button is queued, whenever the button changes state, three entries are made in the queue, recording the current state of the button and the current positions of each valuator.  One valuator can be tied to a button by making v2 = 0.  A button can be untied by making both v1 and v2 zero.  v1 will appear before v2 in the event queue; both are preceded by b. 

SEE ALSO

getbutton

NOTE

This command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026