set_touch_only


Description:

[ Version ( since = "3.14" ) ]
public void set_touch_only (bool touch_only)

If touch_only is true, this will only handle events of type TOUCH_BEGIN, TOUCH_UPDATE or TOUCH_END.

If false, mouse events will be handled too.

Parameters:

this

a GestureSingle

touch_only

whether this handles only touch events




2022 vala-language.org