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

  1.  
  2.  
  3.  
  4. XmbResetIC(3X11)      XLIB FUNCTIONS     XmbResetIC(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XmbResetIC, XwcResetIC - reset the state of an input con-
  9.        text
  10.  
  11. SSYYNNTTAAXX
  12.        char * XmbResetIC(_i_c)
  13.          XIC _i_c;
  14.  
  15.        wchar_t * XwcResetIC(_i_c)
  16.          XIC _i_c;
  17.  
  18. AARRGGUUMMEENNTTSS
  19.        _i_c     Specifies the input context.
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.        When _X_N_R_e_s_e_t_S_t_a_t_e is set to _X_I_M_I_n_i_t_i_a_l_S_t_a_t_e, _X_m_b_R_e_s_e_t_I_C
  23.        and _X_w_c_R_e_s_e_t_I_C reset an input context to its initial
  24.        state; when _X_N_R_e_s_e_t_S_t_a_t_e is set to _X_I_M_P_r_e_s_e_r_v_e_S_t_a_t_e, the
  25.        current input context state is preserved.  In both cases,
  26.        any input pending on that context is deleted.  The input
  27.        method is required to clear the preedit area, if any, and
  28.        update the status accordingly.  Calling _X_m_b_R_e_s_e_t_I_C or
  29.        _X_w_c_R_e_s_e_t_I_C does not change the focus.
  30.  
  31.        The return value of _X_m_b_R_e_s_e_t_I_C is its current preedit
  32.        string as a multibyte string.  If there is any preedit
  33.        text drawn or visible to the user, then these procedures
  34.        must return a non-NULL string.  If there is no visible
  35.        preedit text, then it is input method implementation-
  36.        dependent whether these procedures return a non-NULL
  37.        string or NULL.
  38.  
  39.        The client should free the returned string by calling
  40.        _X_F_r_e_e.
  41.  
  42. SSEEEE AALLSSOO
  43.        XCreateIC(3X11), XOpenIM(3X11), XSetICFocus(3X11), XSetIC-
  44.        Values(3X11)
  45.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.