home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xtremoveactionhook.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XtAppAddActionHook(3Xt)       XT FUNCTIONS      XtAppAddActionHook(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtAppAddActionHook, XtRemoveActionHook - register an
  9.        action hook procedure
  10.  
  11. SSYYNNTTAAXX
  12.        XtActionHookId XtAppAddActionHook(_a_p_p___c_o_n_t_e_x_t, _p_r_o_c,
  13.        _c_l_i_e_n_t___d_a_t_a)
  14.          XtAppContext _a_p_p___c_o_n_t_e_x_t;
  15.          XtActionHookProc _p_r_o_c;
  16.          XtPointer _c_l_i_e_n_t___d_a_t_a;
  17.  
  18.        void XtRemoveActionHook(_i_d_F_P_)
  19.          _X_t_A_c_t_i_o_n_H_o_o_k_I_d _i_d_;
  20.  
  21. AARRGGUUMMEENNTTSS
  22.        _a_p_p___c_o_n_t_e_x_t
  23.          Specifies the application context.
  24.  
  25.        _p_r_o_c     Specifies the action hook procedure.
  26.  
  27.        _n_u_m___a_r_g_s     Specifies the application-specific data to be
  28.          passed to the action hook.
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.        _X_t_A_p_p_A_d_d_A_c_t_i_o_n_H_o_o_k adds the specified procedure to the
  32.        front of a list maintained in the application context. In
  33.        the future, when an action routine is about to be invoked
  34.        for any widget in this application context, either through
  35.        the translation manager or via _X_t_C_a_l_l_A_c_t_i_o_n_P_r_o_c, the
  36.        action hohok procedures will be called in reverse order of
  37.        registration jut prior to invoking the action routine.
  38.  
  39.        Action hook procedures are removed automatically and the
  40.        _X_t_A_c_t_i_o_n_H_o_o_k_I_d s destroyed when the application context in
  41.        which they were added is destroyed.
  42.  
  43.        _X_t_R_e_m_o_v_e_A_c_t_i_o_n_H_o_o_k removes the specified action hook pro-
  44.        cedure from the list in which it was registered.
  45.  
  46. SSEEEE AALLSSOO
  47.        _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
  48.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.