X Input Methods (XIMs) provide three categories of callbacks. One is preedit callbacks, which allow applications to display the intermediate feedbacks during preediting. The second is geometry callbacks, which allow applications and XIM to negotiate the geometry to be used for XIM. The third is status callbacks, which allow applications to display the internal status of XIM.
XIM Status Callbacks: StatusStartCallback
XIM Preedit Caret Callbacks: PreeditCaretCallback
XIM Geometry Callbacks: GeometryCallback
XIM Status Callbacks: StatusDoneCallback
XIM Status Callbacks: StatusDrawCallback