Stops the ongoing composition.
capi
output-pane-stop-composition output-pane &key process-p x y => result
output-pane⇩ |
An output-pane. |
process-p⇩ |
A generalized boolean. |
An integer or nil . |
result |
A string or nil . |
The function output-pane-stop-composition
stops the ongoing composition session if there is any, returning the currently composed string.
If process-p is true and there is a composition, the current composition string is processed as if the user committed it. That is, for each character, the user callbacks from the input model are invoked as if it was typed by the user. The default value of process-p is nil
.
x and y provide coordinates for the callbacks. If either of them is nil
, the current pointer position is used. When process-p is nil
, x and y are ignored.
output-pane-stop-composition
returns the current composition string, if any, or nil
.
:composition-callback
in output-pane.output-pane-stop-composition
when there is no composition session has no effect.output-pane-stop-composition
when a gesture that is not processed by the input method (for example a mouse click) changes the interaction such that it does not make sense to continue the composition.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27