GestureSingle.setTouchOnly

If touch_only is true, gesture will only handle events of type #GDK_TOUCH_BEGIN, #GDK_TOUCH_UPDATE or #GDK_TOUCH_END. If false, mouse events will be handled too.

class GestureSingle
void
setTouchOnly
()

Parameters

touchOnly bool

whether gesture handles only touch events