NAME

XtGetKeysymTable, XtKeysymToKeycodeList - query keysyms and keycodes

SYNTAX

Keysym* XtGetKeysymTable(Display* _d_i_s_p_l_a_y, KeyCode* _m_i_n___k_e_y_c_o_d_e___r_e_t_u_r_n, int *_k_e_y_s_y_m_s___p_e_r___k_e_y_c_o_d_e___r_e_t_u_r_n); void XtKeysymToKeycodeList(Display* _d_i_s_p_l_a_y, KeySym _k_e_y_s_y_m, KeyCode** _k_e_y_c_o_d_e_s___r_e_t_u_r_n, Cardinal* _k_e_y_c_o_u_n_t___r_e_t_u_r_n);

ARGUMENTS

_d_i_s_p_l_a_y Specifies the display whose table is required.

_m_i_n___k_e_y_c_o_d_e___r_e_t_u_r_n Returns the minimum KeyCode valid for the display.

_k_e_y_s_y_m_s___p_e_r___k_e_y_c_o_d_e___r_e_t_u_r_n Returns the number of KeySyms stored for each KeyCode.

_k_e_y_s_y_m Specifies the KeySym for which to search.

_k_e_y_c_o_d_e_s___r_e_t_u_r_n Returns a list of KeyCodes that have _k_e_y_s_y_m associated with them,
or NULL if _k_e_y_c_o_u_n_t___r_e_t_u_r_n is 0.

_k_e_y_c_o_u_n_t___r_e_t_u_r_n Returns the number of KeyCodes in the keycode list.

DESCRIPTION

_X_t_G_e_t_K_e_y_s_y_m_T_a_b_l_e returns a pointer to the Intrinsics' copy of the server's KeyCode-to-KeySym table. This table must not be modified.

The _X_t_K_e_y_s_y_m_T_o_K_e_y_c_o_d_e_L_i_s_t procedure returns all the KeyCodes that have _k_e_y_s_y_m in their entry for the keyboard mapping table associated with _d_i_s_p_l_a_y. The caller should free the storage pointed to by _k_e_y_c_o_d_e_s___r_e_t_u_r_n using _X_t_F_r_e_e when it is no longer useful.

SEE ALSO


_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s _- _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e