Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tie(3g) — GL2 W2.5r1

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 requires a button b and two valuators v1 and v2.  When the button is queued, the valuators are also queued.  When a queued button changes state, it makes three entries in the queue:  one recording the current state of the button and two recording 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

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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