07-12-2009
9 More Discussions You Might Find Interesting
1. Programming
Is there any site that has the source code for just about all the apps that usually come default installed on most *nix systems (su, grep, find, etc...). Im average at c/c++ programming and feal like taking on a new challenge, understanding the source of well know apps. (2 Replies)
Discussion started by: minion
2 Replies
2. UNIX for Dummies Questions & Answers
A very n00b question: After compiling and installing software, where does the original source code reside? I'd like to study the source code of some of the ports I've installed. Thanks! :D (1 Reply)
Discussion started by: Aaron Van
1 Replies
3. Shell Programming and Scripting
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs in unix
i need a very short and simple one, just the compiling part
Respect (2 Replies)
Discussion started by: zlatan005
2 Replies
4. Shell Programming and Scripting
Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies
5. UNIX for Dummies Questions & Answers
Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies
6. Programming
HI,
I am getting run time error when am trying to compile the following coe can any one please help me
while (fgets(strLine, MAX_LINELEN, vobjFile) != NULL && feof(vobjFile) == 0) {
printf("this is the first loop\n");
while (strcmp(strLine, "BEGINTRANS\n") !=... (5 Replies)
Discussion started by: uday.sena.m
5 Replies
7. Shell Programming and Scripting
Hi,
I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory.
finally {
if (null != hibernateSession && hibernateSession.isOpen()) {
//hibernateSession.close();
}
}
It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies
8. Linux
I need the source code of fedora.
plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies
9. UNIX for Dummies Questions & Answers
hii...
i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
LEARN ABOUT HPUX
xtinstallallaccelerators
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()