NAME

XtAppGetSelectionTimeout, XtAppSetSelectionTimeout - set and obtain selection timeout values

SYNTAX

unsigned long XtAppGetSelectionTimeout(XtAppContext _a_p_p___c_o_n_t_e_x_t); void XtAppSetSelectionTimeout(XtAppContext _a_p_p___c_o_n_t_e_x_t, unsigned long _t_i_m_e_o_u_t);

ARGUMENTS

_a_p_p___c_o_n_t_e_x_t Specifies the application context.
_t_i_m_e_o_u_t Specifies the selection timeout in milliseconds.

DESCRIPTION

The _X_t_A_p_p_G_e_t_S_e_l_e_c_t_i_o_n_T_i_m_e_o_u_t function returns the current selection timeout value, in milliseconds. The selection timeout is the time within which the two communicating applications must respond to one another. The initial timeout value is set by the _s_e_l_e_c_t_i_o_n_T_i_m_e_o_u_t application resource, or, if _s_e_l_e_c_t_i_o_n_T_i_m_e_o_u_t is not specified, it defaults to five seconds.

The _X_t_A_p_p_S_e_t_S_e_l_e_c_t_i_o_n_T_i_m_e_o_u_t function sets the Intrinsics's selection timeout mechanism. Note that most applications should not set the selection timeout.

SEE ALSO

XtOwnSelection(3Xt)
_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