Maybe capture a gesture by the non-focus-interface.
A generalized boolean.
The generic function
non-focus-maybe-capture-gesture needs to return non-nil if the gesture
was captured, which means it should not be processed any more, or
was not captured.
should be a gesture specifier, which is an object that can be coerced to a Gesture Spec by
The method on non-focus-list-interface does the following:
If the gesture is
Escape it calls non-focus-terminate on the non-focus window.
It checks whether the gesture matches any of the gestures in the
of the window. The gesture callbacks are either explicitly defined using the initargs
:add-gesture-callbacks, or implicitly. By default, all the gestures that are used in in-place completion (see In-place completion) are defined implicitly. These include
PageDown (selection in the list panel),
Control+Shift+Return (control of the filter). The implicitly defined gestures are affected by
If a match is found, it is invoked as described for
If filtering is enabled, it checks if the gesture is captured by the filter. A gesture is captured by the filter if it is:
A plain graphic character.
It is inserted to the filter
The last character in the filter is deleted
One of the gestures which update the state of the filter (by default
The state of the filter is updated.
In any case, where a gesture is captured by the filter the list panel is updated.
If the gesture is captured by one of the possibilities above, the method returns
t, otherwise it returns
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017