NAME
XtAppAddBlockHook, XtRemoveBlockHook - register a block hook procedure
SYNTAX
XtBlockHookId XtAppAddBlockHook(XtAppContext _a_p_p___c_o_n_t_e_x_t,
XtBlockHookProc _p_r_o_c, XtPointer _c_l_i_e_n_t___d_a_t_a);
void XtRemoveBlockHook(XtBlockHookId _i_d);
ARGUMENTS
-
_a_p_p___c_o_n_t_e_x_t
Specifies the application context.
-
-
_p_r_o_c
Specifies the block hook procedure.
-
-
_n_u_m___a_r_g_s
Specifies the application-specific data to be passed to the block hook.
-
DESCRIPTION
_X_t_A_p_p_A_d_d_B_l_o_c_k_H_o_o_k
registers the specified procedure and returns an identifier for it.
The hook is called at any time in the future when the Intrinsics are
about to block pending some input.
Block hook procedures are removed automatically and the
_X_t_B_l_o_c_k_H_o_o_k_I_d
is destroyed when the application context in which they were added is
destroyed.
_X_t_R_e_m_o_v_e_B_l_o_c_k_H_o_o_k
removes the specified block hook procedure from the list in which it
was registered.
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