Keyboard and/or mouse event mask indicating all possible
mouse buttons.
To allow for the future, this mask is intended to be used
in place of code that references each individual button mask.
For example, the following expression will determine whether
any button is pressed and will continue to work as new button
masks are added.
Keyboard and/or mouse event mask indicating all possible mouse buttons.
To allow for the future, this mask is intended to be used in place of code that references each individual button mask. For example, the following expression will determine whether any button is pressed and will continue to work as new button masks are added.
<code>(stateMask & SWT.BUTTON_MASK) != 0</code>.
@since 2.1