configure-gestures
Arguments:
window &key pan pan-with-single-finger-vertically pan-with-single-finger-horizontally pan-with-gutter pan-with-inertia two-finger-tap zoom rotate press-and-tap
Establishes which capabilities of the gesture interface will be
enabled for the specified window. The value of each keyword argument
can be either t
to enable the
capability, nil
or unspecified to disable it,
or :inherit
to inherit the value from an ancestor
window or else the system defaults. Since unspecified values disable
the associated capabilities, all capabilities that are to be enabled
need to be passed on any call to this function.
Here are the meanings of the keyword arguments, all of which appear to
be enabled by default (at least on the test machine) except where
otherwise noted:
-
pan - This must be enabled to enable any panning by dragging
one or two fingers across the screen. Without the other panning
options, two-fingered panning will be enabled both horizontally and
vertically.
-
pan-with-single-finger-vertically - Enables panning vertically
by dragging a single finger.
-
pan-with-single-finger-horizontally - Enables panning
horizontally by dragging a single finger. This one appears to be
disabled by default to allow the default behavior to select text
instead.
-
pan-with-gutter - If enabled, restricts panning to either the
horizontal or vertical direction, whichever one the gesture begins
with, unless the user also moves in the other direction by some
minimum amount that breaks out of the gutter.
-
pan-with-inertia - If enabled, calls to gesture-event will continue to be made for a
brief period after a panning gesture ends during a drag, to allow the
pan to gradually slow to a halt.
-
two-finger-tap - Enables a simple tap with two fingers.
-
zoom - Enables a two-finger pinch or spread gesture.
-
rotate - Enables a two-finger circular motion around a central
point. This one appears to be disabled by default.
-
press-and-tap - Enables a gesture where one finger touches the
screen momentarily, followed by a second finger while the first is
still on the screen.
See also the touch-point
class and About Touch
Gesture Support in Common Graphics on Windows
in cgide.htm.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 10.0 release.
Created 2019.8.20.