1XmImRegister(library call) XmImRegister(library call)
2
3
4
6 XmImRegister — An input manager function that registers a widget with
7 an input manager
8
10 #include <Xm/XmIm.h>
11 void XmImRegister(
12 Widget widget,
13 unsigned int reserved);
14
16 XmImRegister registers a widget with its input manager. This adds the
17 specified widget to a list of widgets that are supported by the input
18 manager for an input method. If an input method has not been opened by
19 a previous call to XmImRegister, the first time this routine is called
20 it opens an input method using the XmNinputMethod resource for the Ven‐
21 dorShell. If the XmNinputMethod is NULL, an input method is opened
22 using the current locale.
23
24 If an input method cannot be opened in the current locale, XLookup‐
25 String provides input processing.
26
27 The application is responsible for unregistering a widget by calling
28 XmImUnregister.
29
30 Note that the Text, TextField, and List widgets already call the XmIm‐
31 Register function internally. You should not call this function for
32 these widgets before calling XmImUnregister first.
33
34 widget Specifies the ID of the widget to be registered.
35
36 reserved This argument is not used in the current release of Motif.
37 The value should always be 0 (zero).
38
40 XmImGetXIM(3), XmImMbLookupString(3), and XmImUnregister(3).
41
42
43
44 XmImRegister(library call)