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 (Unix version) - 25 Feb 2015