set_touch_only


Description:

public void set_touch_only (bool touch_only)

Sets whether to handle only touch events.

If touch_only is true, this 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:

this

a `GtkGestureSingle`

touch_only

whether this handles only touch events