NAME
XtGetActionKeysym - obtain corresponding keysym
SYNTAX
KeySym XtGetActionKeysym(XEvent* _e_v_e_n_t, Modifiers*
_m_o_d_i_f_i_e_r_s___r_e_t_u_r_n);
ARGUMENTS
-
_e_v_e_n_t
Specifies the event pointer passed to the action procedure by the
-
Intrinsics.
-
_m_o_d_i_f_i_e_r_s___r_e_t_u_r_n
Returns the modifiers that caused the match, if non-NULL.
-
DESCRIPTION
If
_X_t_G_e_t_A_c_t_i_o_n_K_e_y_s_y_m
is called after an action procedure has been invoked by the Intrinsics
and before that action procedure returns, and if the event pointer has
the same value as the event pointer passed to that action routine, and
if the event is a
_K_e_y_P_r_e_s_s
or
_K_e_y_R_e_l_e_a_s_e
event, then
_X_t_G_e_t_A_c_t_i_o_n_K_e_y_s_y_m
returns the KeySym that matched the final event specification in the
translation table and, if _m_o_d_i_f_i_e_r_s___r_e_t_u_r_n is non-NULL, the
modifier state actually used to generate this KeySym; otherwise, if
the event is a
_K_e_y_P_r_e_s_s
or
_K_e_y_R_e_l_e_a_s_e
event, then
_X_t_G_e_t_A_c_t_i_o_n_K_e_y_s_y_m
calls
_X_t_T_r_a_n_s_l_a_t_e_K_e_y_c_o_d_e
and returns the results; else it returns
_N_o_S_y_m_b_o_l
and does not examine _m_o_d_i_f_i_e_r_s___r_e_t_u_r_n.
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