set_button


Description:

[ Version ( since = "3.14" ) ]
public void set_button (uint button)

Sets the button number this listens to.

If non-0, every button press from a different button number will be ignored. Touch events implicitly match with button 1.

Parameters:

this

a GestureSingle

button

button number to listen to, or 0 for any button