GestureSingle.setTouchOnly
void setTouchOnly(bool touchOnly)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.
Parameters
touchOnly | whether gesture handles only touch events |