1XtParseTranslationTable(3x)      XT FUNCTIONS      XtParseTranslationTable(3x)
2
3
4

NAME

6       XtParseTranslationTable, XtAugmentTranslations, XtOverrideTranslations,
7       XtUninstallTranslations - manage translation tables
8

SYNTAX

10       XtTranslations XtParseTranslationTable(String table);
11
12       void XtAugmentTranslations(Widget w, XtTranslations translations);
13
14       void XtOverrideTranslations(Widget w, XtTranslations translations);
15
16       void XtUninstallTranslations(Widget w);
17

ARGUMENTS

19       table     Specifies the translation table to compile.
20
21       translations
22                 Specifies the compiled translation table to merge in (must
23                 not be NULL).
24
25       w         Specifies the widget into which the new translations are to
26                 be merged or removed.
27

DESCRIPTION

29       The XtParseTranslationTable function compiles the translation table
30       into the opaque internal representation of type XtTranslations.  Note
31       that if an empty translation table is required for any purpose, one can
32       be obtained by calling XtParseTranslationTable and passing an empty
33       string.
34
35       The XtAugmentTranslations function nondestructively merges the new
36       translations into the existing widget translations.  If the new trans‐
37       lations contain an event or event sequence that already exists in the
38       widget's translations, the new translation is ignored.
39
40       The XtOverrideTranslations function destructively merges the new trans‐
41       lations into the existing widget translations.  If the new translations
42       contain an event or event sequence that already exists in the widget's
43       translations, the new translation is merged in and override the wid‐
44       get's translation.
45
46       To replace a widget's translations completely, use XtSetValues on the
47       XtNtranslations resource and specify a compiled translation table as
48       the value.
49
50       The XtUninstallTranslations function causes the entire translation ta‐
51       ble for widget to be removed.
52

SEE ALSO

54       XtAppAddActions(3Xt), XtCreatePopupShell(3Xt), XtParseAccelera‐
55       torTable(3Xt), XtPopup(3Xt)
56       X Toolkit Intrinsics - C Language Interface
57       Xlib - C Language X Interface
58
59
60
61X Version 11                      libXt 1.0.4      XtParseTranslationTable(3x)
Impressum