


XtAddCallback(3Xt)					   XtAddCallback(3Xt)
X11R5									X11R5



NAME
  XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemo-
  veAllCallbacks - 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 pro-
	    cedure when	it is invoked by XtCallbacks 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 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	delim off




















































