


XtParseAcceleratorTable(3Xt)			 XtParseAcceleratorTable(3Xt)
X11R5									X11R5



NAME
  XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAllAccelerators -
  managing accelerator tables

SYNTAX
  XtAccelerators XtParseAcceleratorTable(_s_o_u_r_c_e)
	String _s_o_u_r_c_e;

  void XtInstallAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
	Widget _d_e_s_t_i_n_a_t_i_o_n;
	Widget _s_o_u_r_c_e;

  void XtInstallAllAccelerators(_d_e_s_t_i_n_a_t_i_o_n, _s_o_u_r_c_e)
	Widget _d_e_s_t_i_n_a_t_i_o_n;
	Widget _s_o_u_r_c_e;

ARGUMENTS

  _s_o_u_r_c_e    Specifies the accelerator table to compile.

  _d_e_s_t_i_n_a_t_i_o_n
	    Specifies the widget on which the accelerators are to be
	    installed.

  _s_o_u_r_c_e    Specifies the widget or the	root widget of the widget tree from
	    which the accelerators are to come.

DESCRIPTION
  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 accelerator	table into
  the opaque internal representation.

  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 accelerators from source
  onto destination by augmenting the destination translations with the source
  accelerators.	 If the	source display_accelerator method is non-NULL, _X_t_I_n_-
  _s_t_a_l_l_A_c_c_e_l_e_r_a_t_o_r_s calls it with the source widget and	a string representa-
  tion of the accelerator table, which indicates that its accelerators have
  been installed and that it should display them appropriately.	 The string
  representation of the	accelerator table is its canonical translation table
  representation.

  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 the widget	tree
  rooted at source and installs	the accelerators of each widget	encountered
  onto destination.  A common 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 application main window as the source.

SEE ALSO
  XtParseTranslationTable(3Xt)
  _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









