EventButton.button

Set button field.

  1. uint button [@property getter]
  2. uint button [@property setter]
    class EventButton
    @property
    void
    button
    (
    uint propval
    )

Parameters

propval uint

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.