tie(3G) — 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 requires a button b and two valuators v1 and v2. When a queued button changes state, three entries are made in the queue: one records the current state of the button and two record the current positions of each valuator. You can tie one valuator to a button by making v2 = 0. You can untie a button by making both v1 and v2= 0. v1 appears before v2 in the event queue; b precedes both v1 and v2.
SEE ALSO
getbutton Programming Guide, Section 7.4, The Event Queue
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987