Sponsored Content
Full Discussion: forum rules
Contact Us Post Here to Contact Site Administrators and Moderators forum rules Post 30645 by norsk hedensk on Thursday 24th of October 2002 05:15:55 PM
Old 10-24-2002
hey thanks for the responce, i am really interested to hear all opinions, as i am sure otheres are aswell.
 

3 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

suggested addition to forum rules

Possible new rule for the "forum rules" list: <UL> <LI>Include as many pertinent details as possible in your post. Useful information usually includes: Vendor and version of Unix you are using, hardware platform, kernel version (if applicable). For hardware related questions include model... (1 Reply)
Discussion started by: PxT
1 Replies

2. What is on Your Mind?

Forum rules

After reading the FAQ for the first time, I noticed Rule # 14 : :D:D:D Anyways, I hope to make more use of this forum in future, and also to help others. Regards Ook. :) (0 Replies)
Discussion started by: The_Librarian
0 Replies

3. Post Here to Contact Site Administrators and Moderators

I want to consult about 4th of Forum Rules

Hi, Admin, because my English is very poor, So I don't understand very well about 4th of Forum Rules, that is “Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post”. My question is: if I created a new thread, and some people reply... (3 Replies)
Discussion started by: weichanghe2000
3 Replies
XtInstallAllAccelerators()												XtInstallAllAccelerators()

Name
  XtInstallAllAccelerators - install all accelerators from a widget and its descendants onto a destination widget.

Synopsis
  void XtInstallAllAccelerators(destination, source)
	 Widget destination;
	 Widget source;

Inputs
  destination
	    Specifies the widget in which events specified in the accelerator tables will be detected.	Must be of class Core or any subclass
	    thereof.

  source    Specifies the root widget of the widget tree from which the actions of any descendant widget can be invoked when events occur  in
	    destination.  Must be of class Core or any subclass thereof.

Description
  XtInstallAllAccelerators()  is  a  convenience function for installing all accelerators from a widget and all its descendants onto a single
  destination widget.  It recursively traverses the widget tree rooted at source and installs the accelerator resource values of each  widget
  onto destination.  It also calls the display_accelerator() method of each widget in the source tree that has one.

Usage
  A  common use for XtInstallAllAccelerators() is to install the accelerators for all the buttons of a menu or an entire menu bar onto a sin-
  gle destination widget.  The XtNaccelerator resource of each button would be specified when the button was created or would come  from  the
  resource database, and the single call to XtInstallAllAccelerators() would make all those accelerators available in a widget.

  Note	that  if you want to provide keyboard shortcuts for a menu system from within two different text widgets, you will have to call XtIn-
  stallAllAccelerators() twice.

  Also note that if a widget is not interested in events of a certain type, then those events will propagate up the widget hierarchy  to  the
  first  ancestor  widget that is interested.  If your interface contains a composite widget that contains only button and other widgets that
  are not interested in keyboard input, then you can install a set of keyboard accelerators on the composite widget, and they will be invoked
  when keyboard events occur anywhere within that widget.

See Also
  XtInstallAccelerators(1),
  display_accelerator(4).

Xt - Translations and Actions												XtInstallAllAccelerators()
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy