NAME

XtCallActionProc - invoke an action procedure directly

SYNTAX

void XtCallActionProc(Widget _w_i_d_g_e_t, String _a_c_t_i_o_n, XEvent* _e_v_e_n_t, String* _p_a_r_a_m_s, Cardinal _n_u_m___p_a_r_a_m_s);

ARGUMENTS

_w_i_d_g_e_t Specifies the widget in which the action is to be invoked. Must be
of class core of any subclass thereof.
_a_c_t_i_o_n Specifies the name of the action routine.
_e_v_e_n_t Specifies the contents of the _e_v_e_n_t passed to the action routine.
_p_a_r_a_m_s Specifies the contents of the _p_a_r_a_m_s passed to the action routine.
_n_u_m___p_a_r_a_m_s Specifies the num of entries in _p_a_r_a_m_s.

DESCRIPTION

_X_t_C_a_l_l_A_c_t_i_o_n_P_r_o_c searches for the named action routine in the same manner and order as translation tables are bound. If found, the action routine is invoked with the specified widget, event pointer, and parameters. It is the responsibility of the caller to ensure that the contents of _e_v_e_n_t, _p_a_r_a_m_s, and _n_u_m___p_a_r_a_m_s arguments are appropriate for the specified routine, and if necessary, that the specified widget is realized or sensitive. If the named action routine cannot be found, _X_t_C_a_l_l_A_c_t_i_o_n_P_r_o_c generates a warning message and returns.

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