1XmImSetFocusValues(library call) XmImSetFocusValues(library call)
2
3
4
6 XmImSetFocusValues — An input manager function that notifies an input
7 manager that a widget has received input focus and updates the input
8 context attributes
9
11 #include <Xm/XmIm.h>
12 void XmImSetFocusValues(
13 Widget widget,
14 ArgList arglist,
15 Cardinal argcount,
16 );
17
19 XmImSetFocusValues notifies the input manager that the specified widget
20 has received input focus. This function also updates the attributes of
21 the input context associated with the widget. The focus window for the
22 XIC is set to the window of the widget. The arglist argument is a list
23 of attribute/value pairs for the input context. This function passes
24 the attributes and values to XICSetValues. The caller of this routine
25 should pass in only those values that have changed since the last call
26 to any of these functions; XmImSetValues, XmImSetFocusValues, XmIm‐
27 VaSetValues, or XmImVaSetFocusValues. See the description in the XmIm‐
28 SetValues(3) reference page for a list of associated resources.
29
30 If the previous parameters for the widget's XIC do not allow the previ‐
31 ously registered XIC to be reused, that XIC will be unregistered, and a
32 new one will be created and registered with the widget. Note that shar‐
33 ing of data is preserved.
34
35 widget Specifies the ID of the widget registered with the input man‐
36 ager.
37
38 arglist Specifies the list of attribute/value pairs to be passed to
39 XICSetValues. See the description in the XmImSetValues(3) man
40 page for a description of resources.
41
42 argcount Specifies the number of attribute/values pairs in the argu‐
43 ment list (arglist)
44
45 Note that the Text and TextField widgets call the XmImSetFocusValues
46 function when they receive focus. Therefore, further calls to the XmIm‐
47 SetFocusValues function for these widgets are unnecessary.
48
50 XmImSetValues(3), XmImVaSetFocusValues(3), and XmImVaSetValues(3).
51
52
53
54 XmImSetFocusValues(library call)