1XmImGetXIC(library call)                              XmImGetXIC(library call)
2
3
4

NAME

6       XmImGetXIC — An input manager function that obtains an XIC for a widget
7

SYNOPSIS

9       #include <Xm/XmIm.h>
10       XIC XmImGetXIC(
11       Widget widget,
12       XmInputPolicy input_policy,
13       ArgList args,
14       Cardinal num_args);
15

DESCRIPTION

17       XmImGetXIC  creates  and  registers  an  X Input Context (XIC) with the
18       specified arguments for widget. If XmINHERIT_POLICY  is  specified  for
19       input_policy,  a  new  XIC  will  be created only if required to by the
20       arguments or by the VendorShell input policy.  Any existing XIC  regis‐
21       tered with widget is unregistered.
22
23       Refer to the VendorShell reference page for further details.
24
25       widget    Specifies the ID of a widget for which an Input Context is to
26                 be created.
27
28       input_policy
29                 Specifies the type of input policy. It accepts the  following
30                 values:
31
32                 XmINHERIT_POLICY
33                           Inherits the policy from VendorShell.
34
35                 XmPER_WIDGET
36                           Creates a new XIC for this widget.
37
38                 XmPER_SHELL
39                           Creates a new XIC for the shell, if needed.
40
41       args      Specifies an XtArgList parameter to use for creating the XIC.
42
43       num_args  Specifies the number of arguments in the args parameter.
44

RETURN

46       Returns  the  created  XIC.  The application is responsible for freeing
47       the returned XIC by calling XmImFreeXIC.
48
50       XmImSetXIC(3) and XmImFreeXIC(3).
51
52
53
54                                                      XmImGetXIC(library call)
Impressum