XtAddCallback(3Xt) AIX (XT FUNCTIONS) XtAddCallback(3Xt) NAME XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemove- Callbacks, XtRemoveAllCallbacks - add and remove callback procedures SYNTAX void XtAddCallback(_w, _c_a_l_l_b_a_c_k__n_a_m_e, _c_a_l_l_b_a_c_k, _c_l_i_e_n_t__d_a_t_a) Widget _w; String _c_a_l_l_b_a_c_k__n_a_m_e; XtCallbackProc _c_a_l_l_b_a_c_k; XtPointer _c_l_i_e_n_t__d_a_t_a; void XtAddCallbacks(_w, _c_a_l_l_b_a_c_k__n_a_m_e, _c_a_l_l_b_a_c_k_s) Widget _w; String _c_a_l_l_b_a_c_k__n_a_m_e; XtCallbackList _c_a_l_l_b_a_c_k_s; void XtRemoveCallback(_w, _c_a_l_l_b_a_c_k__n_a_m_e, _c_a_l_l_b_a_c_k, _c_l_i_e_n_t__d_a_t_a) Widget _w; String _c_a_l_l_b_a_c_k__n_a_m_e; XtCallbackProc _c_a_l_l_b_a_c_k; XtPointer _c_l_i_e_n_t__d_a_t_a; void XtRemoveCallbacks(_w, _c_a_l_l_b_a_c_k__n_a_m_e, _c_a_l_l_b_a_c_k_s) Widget _w; String _c_a_l_l_b_a_c_k__n_a_m_e; XtCallbackList _c_a_l_l_b_a_c_k_s; void XtRemoveAllCallbacks(_w, _c_a_l_l_b_a_c_k__n_a_m_e) Widget _w; String _c_a_l_l_b_a_c_k__n_a_m_e; ARGUMENTS _c_a_l_l_b_a_c_k Specifies the callback procedure. _c_a_l_l_b_a_c_k_s Specifies the null-terminated list of callback procedures and corresponding client data. _c_a_l_l_b_a_c_k__n_a_m_e Specifies the callback list to which the procedure is to be appended or deleted. _c_l_i_e_n_t__d_a_t_a Specifies the argument that is to be passed to the specified procedure when it is invoked by XtCall- backs or NULL, or the client data to match on the registered callback procedures. _w Specifies the widget. DESCRIPTION The _X_t_A_d_d_C_a_l_l_b_a_c_k function adds the specified callback Rev. Release 3 Page 1 XtAddCallback(3Xt) AIX (XT FUNCTIONS) XtAddCallback(3Xt) procedure to the specified widget's callback list. The _X_t_A_d_d_C_a_l_l_b_a_c_k_s add the specified list of callbacks to the specified widget's callback list. The _X_t_R_e_m_o_v_e_C_a_l_l_b_a_c_k function removes a callback only if both the procedure and the client data match. The _X_t_R_e_m_o_v_e_C_a_l_l_b_a_c_k_s function removes the specified call- back procedures from the specified widget's callback list. The _X_t_R_e_m_o_v_e_A_l_l_C_a_l_l_b_a_c_k_s function removes all the callback procedures from the specified widget's callback list. SEE ALSO XtCallCallbacks(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 Rev. Release 3 Page 2