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

  1.  
  2.  
  3.  
  4. XStringToKeysym(3X11)      XLIB FUNCTIONS    XStringToKeysym(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XStringToKeysym, XKeysymToString, XKeycodeToKeysym,
  9.        XKeysymToKeycode, XConvertCase - convert keysyms
  10.  
  11. SSYYNNTTAAXX
  12.        KeySym XStringToKeysym(_s_t_r_i_n_g)
  13.          char *_s_t_r_i_n_g;
  14.  
  15.        char *XKeysymToString(_k_e_y_s_y_m)
  16.          KeySym _k_e_y_s_y_m;
  17.  
  18.        KeySym XKeycodeToKeysym(_d_i_s_p_l_a_y, _k_e_y_c_o_d_e, _i_n_d_e_x)
  19.          Display *_d_i_s_p_l_a_y;
  20.          KeyCode _k_e_y_c_o_d_e;
  21.          int _i_n_d_e_x;
  22.  
  23.        KeyCode XKeysymToKeycode(_d_i_s_p_l_a_y, _k_e_y_s_y_m)
  24.          Display *_d_i_s_p_l_a_y;
  25.          KeySym _k_e_y_s_y_m;
  26.  
  27.        void XConvertCase(_k_e_y_s_y_m, _l_o_w_e_r___r_e_t_u_r_n, _u_p_p_e_r___r_e_t_u_r_n)
  28.          KeySym _k_e_y_s_y_m;
  29.          KeySym *_l_o_w_e_r___r_e_t_u_r_n;
  30.          KeySym *_u_p_p_e_r___r_e_t_u_r_n;
  31.  
  32. AARRGGUUMMEENNTTSS
  33.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  34.  
  35.        _i_n_d_e_x     Specifies the element of KeyCode vector.
  36.  
  37.        _k_e_y_c_o_d_e     Specifies the KeyCode.
  38.  
  39.        _k_e_y_s_y_m     Specifies the KeySym that is to be searched for
  40.          or converted.
  41.  
  42.        _l_o_w_e_r___r_e_t_u_r_n
  43.          Returns the lowercase form of keysym, or keysym.
  44.  
  45.        _s_t_r_i_n_g     Specifies the name of the KeySym that is to be
  46.          converted.
  47.  
  48.        _u_p_p_e_r___r_e_t_u_r_n
  49.          Returns the uppercase form of keysym, or keysym.
  50.  
  51. DDEESSCCRRIIPPTTIIOONN
  52.        Standard KeySym names are obtained from <_X_1_1_/_k_e_y_s_y_m_d_e_f_._h>
  53.        by removing the XK_ prefix from each name.  KeySyms that
  54.        are not part of the Xlib standard also may be obtained
  55.        with this function.  The set of KeySyms that are available
  56.        in this manner and the mechanisms by which Xlib obtains
  57.        them is implementation-dependent.
  58.  
  59.        If the KeySym name is not in the Host Portable Character
  60.        Encoding, the result is implementation-dependent.  If the
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XStringToKeysym(3X11)      XLIB FUNCTIONS    XStringToKeysym(3X11)
  71.  
  72.  
  73.        specified string does not match a valid KeySym, _X_S_t_r_i_n_g_-
  74.        _T_o_K_e_y_s_y_m returns _N_o_S_y_m_b_o_l.
  75.  
  76.        The returned string is in a static area and must not be
  77.        modified.  The returned string is in the Host Portable
  78.        Character Encoding.  If the specified KeySym is not
  79.        defined, _X_K_e_y_s_y_m_T_o_S_t_r_i_n_g returns a NULL.
  80.  
  81.        The _X_K_e_y_c_o_d_e_T_o_K_e_y_s_y_m function uses internal Xlib tables
  82.        and returns the KeySym defined for the specified KeyCode
  83.        and the element of the KeyCode vector.  If no symbol is
  84.        defined, _X_K_e_y_c_o_d_e_T_o_K_e_y_s_y_m returns _N_o_S_y_m_b_o_l.
  85.  
  86.        If the specified KeySym is not defined for any KeyCode,
  87.        _X_K_e_y_s_y_m_T_o_K_e_y_c_o_d_e returns zero.
  88.  
  89.        The _X_C_o_n_v_e_r_t_C_a_s_e function returns the uppercase and lower-
  90.        case forms of the specified Keysym, if the KeySym is sub-
  91.        ject to case conversion; otherwise, the specified KeySym
  92.        is returned to both lower_return and upper_return.  Sup-
  93.        port for conversion of other than Latin and Cyrillic
  94.        KeySyms is implementation-dependent.
  95.  
  96. SSEEEE AALLSSOO
  97.        XLookupKeysym(3X11)
  98.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.