1XmImGetXIM(library call) XmImGetXIM(library call)
2
3
4
6 XmImGetXIM — An input manager function that retrieves the input method
7 associated with a specified widget
8
10 #include <Xm/XmIm.h>
11 XIM XmImGetXIM(
12 Widget widget);
13
15 XmImGetXIM retrieves the XIM data structure representing the input
16 method that the input manager has opened for the specified widget. If
17 an input method has not been opened by a previous call to XmImRegister,
18 the first time this routine is called it opens an input method using
19 the XmNinputMethod resource for the VendorShell. If the XmNinputMethod
20 is NULL, an input method is opened using the current locale. If it
21 cannot open an input method, the function returns NULL.
22
23 widget Specifies the ID of a widget registered with the input man‐
24 ager
25
27 Returns the input method for the current locale associated with the
28 specified widget's input manager; otherwise, returns NULL. The appli‐
29 cation is responsible for freeing the returned XIM by calling XmImClo‐
30 seXIM.
31
33 XmImCloseXIM(3), XmImGetXIM(3), XmImMbLookupString(3), and XmImRegis‐
34 ter(3).
35
36
37
38 XmImGetXIM(library call)