getbutton() — Silicon Graphics
NAME
getbutton - gets the state (up/down) of a button
SPECIFICATION
C
Boolean getbutton(num)
Device num;
FORTRAN
logical function getbut(num)
integer*4 num
Pascal
function getbutton(num: Device): longint;
DESCRIPTION
getbutton returns the state of the button numbered num. A return value of 0 means that the button is up; 1 means that it is down.
NOTE
The command can be used only in immediate mode.
Version 2.4 — May 08, 1986