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

  1.  
  2.  
  3.  
  4. XtParseAcceleratorTable(3Xt)XT FUNCTIONXStParseAcceleratorTable(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtParseAcceleratorTable, XtInstallAccelerators, XtInstall-
  9.        AllAccelerators - managing accelerator tables
  10.  
  11. SSYYNNTTAAXX
  12.        XtAccelerators XtParseAcceleratorTable(_s_o_u_r_c_e)
  13.          String _s_o_u_r_c_e;
  14.  
  15.        void XtInstallAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
  16.          Widget _d_e_s_t_i_n_a_t_i_o_n;
  17.          Widget _s_o_u_r_c_e;
  18.  
  19.        void XtInstallAllAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
  20.          Widget _d_e_s_t_i_n_a_t_i_o_n;
  21.          Widget _s_o_u_r_c_e;
  22.  
  23. AARRGGUUMMEENNTTSS
  24.        _s_o_u_r_c_e     Specifies the accelerator table to compile.
  25.  
  26.        _d_e_s_t_i_n_a_t_i_o_n
  27.          Specifies the widget on which the accelerators
  28.          are to be installed.
  29.  
  30.        _s_o_u_r_c_e     Specifies the widget or the root widget of the
  31.          widget tree from which the accelerators are to
  32.          come.
  33.  
  34. DDEESSCCRRIIPPTTIIOONN
  35.        The _X_t_P_a_r_s_e_A_c_c_e_l_e_r_a_t_o_r_T_a_b_l_e function compiles the acceler-
  36.        ator table into the opaque internal representation.
  37.  
  38.        The _X_t_I_n_s_t_a_l_l_A_c_c_e_l_e_r_a_t_o_r_s function installs the accelera-
  39.        tors from source onto destination by augmenting the desti-
  40.        nation translations with the source accelerators.  If the
  41.        source display_accelerator method is non-NULL, _X_t_I_n_s_t_a_l_l_-
  42.        _A_c_c_e_l_e_r_a_t_o_r_s calls it with the source widget and a string
  43.        representation of the accelerator table, which indicates
  44.        that its accelerators have been installed and that it
  45.        should display them appropriately.  The string representa-
  46.        tion of the accelerator table is its canonical translation
  47.        table representation.
  48.  
  49.        The _X_t_I_n_s_t_a_l_l_A_l_l_A_c_c_e_l_e_r_a_t_o_r_s function recursively descends
  50.        the widget tree rooted at source and installs the acceler-
  51.        ators of each widget encountered onto destination.  A com-
  52.        mon use os to call _X_t_I_n_s_t_a_l_l_A_l_l_A_c_c_e_l_e_r_a_t_o_r_s and pass the
  53.        application main window as the source.
  54.  
  55. SSEEEE AALLSSOO
  56.        XtParseTranslationTable(1)
  57.        _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
  58.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.