NAME
XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemoveAllCallbacks - add and remove callback procedures
SYNTAX
void XtAddCallback(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(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(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(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(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.
-
or the client data to match on the registered callback procedures
-
_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 XtCallbacks or NULL, .
-
_w
Specifies the widget.
-
DESCRIPTION
The
_X_t_A_d_d_C_a_l_l_b_a_c_k
function adds the specified callback 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 callback 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