|XmImSetXIC(3)||Library Functions Manual||XmImSetXIC(3)|
XmImSetXIC — An input manager function that registers an existing XIC with a widget "XmImSetXIC" "input manager functions" "XmImSetXIC"
#include <Xm/XmIm.h> XIC XmImSetXIC( Widget widget, XIC xic);
XmImSetXIC registers the specified X Input Context (XIC) with widget. Any existing XIC registered for widget is unregistered. The new XIC registered for widget is returned.
If xic was not created by XmImGetXIC or XmImRegister, it will not be subject to closing activities when it has no widgets registered with it.
Returns the new XIC registered for widget. The application is responsible for freeing the returned XIC. To free the XIC, call XmImFreeXIC.