home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xcreateic.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XCreateIC(3X11)          XLIB FUNCTIONS      XCreateIC(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XCreateIC, XDestroyIC, XIMOfIC - create, destroy, and
  9.        obtain the input method of an input context
  10.  
  11. SSYYNNTTAAXX
  12.        XIC XCreateIC(_i_m, ...)
  13.          XIM _i_m;
  14.  
  15.        void XDestroyIC(_i_c)
  16.          XIC _i_c;
  17.  
  18.        XIM XIMOfIC(_i_c)
  19.          XIC _i_c;
  20.  
  21. AARRGGUUMMEENNTTSS
  22.        _i_c     Specifies the input context.
  23.  
  24.        _i_m     Specifies the input method.
  25.  
  26.        ...     Specifies the variable length argument list to
  27.          set XIC values.
  28.  
  29. DDEESSCCRRIIPPTTIIOONN
  30.        The _X_C_r_e_a_t_e_I_C function creates a context within the speci-
  31.        fied input method.
  32.  
  33.        Some of the arguments are mandatory at creation time, and
  34.        the input context will not be created if those arguments
  35.        are not provided.  The mandatory arguments are the input
  36.        style and the set of text callbacks (if the input style
  37.        selected requires callbacks).  All other input context
  38.        values can be set later.
  39.  
  40.        _X_C_r_e_a_t_e_I_C returns a NULL value if no input context could
  41.        be created.  A NULL value could be returned for any of the
  42.        following reasons:
  43.  
  44.        +o    A required argument was not set.
  45.  
  46.        +o    A read-only argument was set (for example,
  47.         _X_N_F_i_l_t_e_r_E_v_e_n_t_s).
  48.  
  49.        +o    The argument name is not recognized.
  50.  
  51.        +o    The input method encountered an input method imple-
  52.         mentation-dependent error.
  53.  
  54.        The _X_C_r_e_a_t_e_I_C can generate _B_a_d_A_t_o_m, _B_a_d_C_o_l_o_r, _B_a_d_P_i_x_m_a_p,
  55.        and _B_a_d_W_i_n_d_o_w errors.
  56.  
  57.        _X_D_e_s_t_r_o_y_I_C destroys the specified input context.
  58.  
  59.        The _X_I_M_O_f_I_C function returns the input method associated
  60.        with the specified input context.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XCreateIC(3X11)          XLIB FUNCTIONS      XCreateIC(3X11)
  71.  
  72.  
  73. DDIIAAGGNNOOSSTTIICCSS
  74.        _B_a_d_A_t_o_m     A value for an Atom argument does not name a
  75.          defined Atom.
  76.  
  77.        _B_a_d_C_o_l_o_r     A value for a Colormap argument does not name a
  78.          defined Colormap.
  79.  
  80.        _B_a_d_P_i_x_m_a_p A value for a Pixmap argument does not name a
  81.          defined Pixmap.
  82.  
  83.        _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  84.          defined Window.
  85.  
  86. SSEEEE AALLSSOO
  87.        XOpenIM(3X11), XSetICFocus(3X11), XSetICValues(3X11),
  88.        XmbResetIC(3X11)
  89.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.