GestureSingle.setTouchOnly

Sets whether to handle only touch events.

If touch_only is true, gesture will only handle events of type gdk.types.EventType.TouchBegin, gdk.types.EventType.TouchUpdate or gdk.types.EventType.TouchEnd. If false, mouse events will be handled too.

class GestureSingle
void
setTouchOnly
()

Parameters

touchOnly bool

whether gesture handles only touch events