Package: gdk

Accessor gdk:event-button-button

Lambda List

gdk:event-button-button (instance)

Syntax

(gdk:event-button-button instance) => button
(setf (gdk:event-button-button instance) button)

Arguments

instance -- a gdk:event-button instance
button -- an unsigned integer with the button which was pressed

Details

Accessor of the button slot of the gdk:event-button structure. The button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together.
 

See also

2024-6-28