setTouchOnly

open fun setTouchOnly(touchOnly: Boolean)

Sets whether to handle only touch events.

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.

Parameters

touchOnly

whether @gesture handles only touch events