An input manager function that releases the input method associated with a specified widget
#include <Xm/XmIm.h> void XmImCloseXIM Widget widget
XmImCloseXIM closes all input contexts associated with the Input Method (IM) of widget. widget is used to identify the Display that specifies the Input Method opened for the widget. Upon closure, all widgets registered with the input contexts are unregistered. Also, the Input Method specified by Display is closed.
XmImGetXIM (3) and XmImRegister (3).