struct

Espresso::MouseButtonEvent

Inherits Espresso::MouseEvent / Espresso::WindowEvent / Struct / Value / Object

Event triggered when a mouse button is pressed or released.

Instance methods

button

Button that was pressed or released.

Source
left?

Indicates whether the left (primary) mouse button was involved.

Source
middle?

Indicates whether the middle mouse button was involved.

Source
modifiers

Modifier keys held down when the event occurred.

Source
pressed?

Indicates whether the button was pressed.

Source
released?

Indicates whether the button was released.

Source
right?

Indicates whether the right (secondary) mouse button was involved.

Source
state

New state of the mouse button.

Source