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.
whether gesture handles only touch events
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.