Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

button-index

Inline function

Summary

Returns the index for the specified pointer button.

Signature

button-index button => index

Arguments

button
An instance of type one-of(#"left", #"middle", #"right").

Values

index
An instance of type <integer>.

Library

duim-sheets

Module

duim-sheets

Description

Returns the index for button, a button on the pointer device connected to the computer (typically a mouse). The index returned is either 0, 1, or 2, for the left, middle, or right buttons, respectively.

See also

button-index-name, page 212

$pointer-buttons, page 322


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index