Specifies the placement of the composition window relative to the pane. Composition here mean composing input characters into other characters by an input method.
capi
set-composition-placement pane x y &key width height force
pane⇩ |
A pane. |
Non-negative integers or nil . | |
force⇩ |
A generalized boolean. |
The function set-composition-placement
tells the system where to place the composition window in pixel coordinates relative to the pane pane.
On systems where the composition text is displayed by the application (rather than by the system, when the composition callback is called with a plist), the placement coordinates are used to place the composition menu when it is raised.
x and y are the top left coordinates. If both width and height are supplied, they specify the dimensions of the composition window. If force is supplied with a true value, the coordinates are forced, overriding adjustments that the system may otherwise do.
x, y and, when supplied, width and height must all be positive integers.
set-composition-placement
does not raise the composition window. It merely tells the system where to place the composition window when it does appear.
output-pane
output-pane-stop-composition
12.2.4 Composition of characters
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42