NAME

XtGetSelectionRequest - retrieve the event that triggered the XtConvertSelectionProc

SYNTAX

XSelectionRequestEvent* XtGetSelectionRequest(Widget _w, Atom _s_e_l_e_c_t_i_o_n, XtRequestId _r_e_q_u_e_s_t___i_d);

ARGUMENTS

_w Specifies the widget.
_s_e_l_e_c_t_i_o_n Specifies the selection being processed.
_r_e_q_u_e_s_t___i_d Specifies the requestor id in the case of incremental selections, or
NULL in the case of atomic transfers.

DESCRIPTION

_X_t_G_e_t_S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t may only be called from within an _X_t_C_o_n_v_e_r_t_S_e_l_e_c_t_i_o_n_P_r_o_c procedure and returns a pointer to the _S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t event that caused the conversion procedure to be invoked. _R_e_q_u_e_s_t___i_d specifies a unique id for the individual request in the case that multiple incremental transfers are outstanding. For atomic transfers, _r_e_q_u_e_s_t___i_d must be specified as NULL. If no _S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t event is being processed for the specified _w_i_d_g_e_t, _s_e_l_e_c_t_i_o_n, and _r_e_q_u_e_s_t___i_d, _X_t_G_e_t_S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t returns NULL.

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