Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

event-button

Generic function

Summary

Returns an integer corresponding to the mouse button that was pressed or released.

Signature

event-button event => integer

Arguments

event
An instance of type <event>.

Values

integer
An instance of type <integer>.

Library

duim-sheets

Module

duim-sheets

Description

Returns an integer corresponding to the mouse button that was pressed or released, which will be one of $left-button, $middle-button, or $right-button.

Note: The function event-button records the button state at the time that the event occurred, and hence can be different from pointer-button-state.

See also

$left-button, page 293

$middle-button, page 312

<pointer-button-event>, page 321

pointer-button-state, page 322

$right-button, page 339


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index