home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xt / XtAppAddTimeOut.z / XtAppAddTimeOut
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppAAAAddddddddTTTTiiiimmmmeeeeOOOOuuuutttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttAAAAppppppppAAAAddddddddTTTTiiiimmmmeeeeOOOOuuuutttt((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppAddTimeOut, XtRemoveTimeOut - register and remove
  10.           timeouts
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XtIntervalId XtAppAddTimeOut(_a_p_p__c_o_n_t_e_x_t, _i_n_t_e_r_v_a_l, _p_r_o_c,
  14.           _c_l_i_e_n_t__d_a_t_a)
  15.                 XtAppContext _a_p_p__c_o_n_t_e_x_t;
  16.                 unsigned long _i_n_t_e_r_v_a_l;
  17.                 XtTimerCallbackProc _p_r_o_c;
  18.                 XtPointer _c_l_i_e_n_t__d_a_t_a;
  19.  
  20.           void XtRemoveTimeOut(_t_i_m_e_r)
  21.                 XtIntervalId _t_i_m_e_r;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _a_p_p__c_o_n_t_e_x_t
  25.                     Specifies the application context for which the
  26.                     timer is to be set.
  27.  
  28.           _c_l_i_e_n_t__d_a_t_a
  29.                     Specifies the argument that is to be passed to the
  30.                     specified procedure when .
  31.  
  32.           _i_n_t_e_r_v_a_l  Specifies the time interval in milliseconds.
  33.  
  34.           _p_r_o_c      Specifies the procedure that is to be called when
  35.                     time expires.
  36.  
  37.           _t_i_m_e_r     Specifies the ID for the timeout request to be
  38.                     destroyed.
  39.  
  40.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  41.           The _X_t_A_p_p_A_d_d_T_i_m_e_O_u_t function creates a timeout and returns
  42.           an identifier for it.  The timeout value is set to interval.
  43.           The callback procedure is called when the time interval
  44.           elapses, and then the timeout is removed.
  45.  
  46.           The _X_t_R_e_m_o_v_e_T_i_m_e_O_u_t function removes the timeout.  Note that
  47.           timeouts are automatically removed once they trigger.
  48.  
  49.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.           XtAppAddInput(3Xt),XtAppAddSignal(3Xt)
  51.           _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
  52.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.