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

  1.  
  2.  
  3.  
  4. XtAppAddBlockHook(3Xt)       XT FUNCTIONS       XtAppAddBlockHook(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtAppAddBlockHook, XtRemoveBlockHook - register a block
  9.        hook procedure
  10.  
  11. SSYYNNTTAAXX
  12.        XtBlockHookId XtAppAddBlockHook(_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.          XtBlockHookProc _p_r_o_c;
  16.          XtPointer _c_l_i_e_n_t___d_a_t_a;
  17.  
  18.        void XtRemoveBlockHook(_i_d_F_P_)
  19.          _X_t_B_l_o_c_k_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 block hook procedure.
  26.  
  27.        _n_u_m___a_r_g_s     Specifies the application-specific data to be
  28.          passed to the block hook.
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.        _X_t_A_p_p_A_d_d_B_l_o_c_k_H_o_o_k registers the specified procedure and
  32.        returns an identifier for it.  The hook is called at any
  33.        time in the future when the Intrinsics are about to block
  34.        pending some input.
  35.  
  36.        Block hook procedures are removed automatically and the
  37.        _X_t_B_l_o_c_k_H_o_o_k_I_d is destroyed when the application context in
  38.        which they were added is destroyed.
  39.  
  40.        _X_t_R_e_m_o_v_e_B_l_o_c_k_H_o_o_k removes the specified block hook proce-
  41.        dure from the list in which it was registered.
  42.  
  43. SSEEEE AALLSSOO
  44.        _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
  45.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  46.  
  47.  
  48.  
  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.