Unix and Linux Discussions Tagged with table |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
10,530 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
13,669 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
20,231 |
Answers to Frequently Asked Questions |
|
|
|
1 |
3,853 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,573 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
14,636 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,178 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
6,862 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,037 |
Shell Programming and Scripting |
|
|
|
2 |
4,642 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
19,279 |
Shell Programming and Scripting |
|
|
|
12 |
7,036 |
Programming |
|
|
|
1 |
3,618 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,991 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,081 |
What is on Your Mind? |
|
|
|
8 |
8,464 |
Solaris |
|
|
|
0 |
5,869 |
Web Development |
|
|
|
1 |
3,412 |
Programming |
|
|
|
3 |
3,310 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,239 |
Shell Programming and Scripting |
|
|
|
5 |
2,829 |
Shell Programming and Scripting |
|
|
|
0 |
2,912 |
What is on Your Mind? |
|
|
|
2 |
2,028 |
Shell Programming and Scripting |
|
|
|
6 |
4,576 |
Shell Programming and Scripting |
|
|
|
2 |
12,898 |
Homework & Coursework Questions |
|
|
|
6 |
13,354 |
Shell Programming and Scripting |
|
|
|
17 |
4,389 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,940 |
Programming |
|
|
|
1 |
5,814 |
Hardware |
|
|
|
3 |
3,640 |
Shell Programming and Scripting |
|
|
|
1 |
2,577 |
Programming |
|
|
|
3 |
2,693 |
Shell Programming and Scripting |
|
|
|
5 |
2,173 |
Shell Programming and Scripting |
|
|
|
23 |
7,929 |
Programming |
|
|
|
6 |
9,278 |
Shell Programming and Scripting |
|
|
|
6 |
129,652 |
Shell Programming and Scripting |
|
|
|
7 |
4,638 |
UNIX for Advanced & Expert Users |
|
|
|
12 |
3,484 |
Shell Programming and Scripting |
|
|
|
11 |
5,194 |
Shell Programming and Scripting |
|
|
|
5 |
6,650 |
Web Development |
XtParseTranslationTable() XtParseTranslationTable()
Name
XtParseTranslationTable - compile a translation table into its internal representation.
Synopsis
XtTranslations XtParseTranslationTable(table)
String table;
Inputs
table Specifies the translation table to compile.
Returns
The compiled form of table.
Description
XtParseTranslationTable() compiles table into its opaque internal representation of type XtTranslations. This compiled form can then be
set as the value of a widget's XtNtranslations resource, or merged with a widget's existing translation table with XtAugmentTranslations()
or XtOverrideTranslations().
The syntax of the string representation of a translation table is documented in Appendix F.
If an empty translation table is required for any purpose, one can be obtained by calling XtParseTranslationTable() and passing an empty
string.
Usage
This function is generally only needed by application writers. When writing a widget, you specify a default translation table as a string,
which the Intrinsics automatically parse.
You only need to use this function when you want to set translation values from C code; translation tables specified in resource files are
automatically compiled by a resource converter.
It is also possible to set a translation table with the XtVaTypedArg feature of XtVaCreateWidget() and XtVaSetValues(). This allows you to
specify the translation table in string form, and have the appropriate resource converter automatically invoked to compile it.
The string table passed to XtParseTranslationTable can be freed after the call if there are no more explicit references to it.
See Also
XtAugmentTranslations(1), XtOverrideTranslations(1), XtUninstallTranslations(1).
Xt - Translations and Actions XtParseTranslationTable()