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

NAME

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

SYNTAX

10       #include <X11/Intrinsic.h>
11
12       XtTranslations XtParseTranslationTable(const char *table);
13
14       void XtAugmentTranslations(Widget w, XtTranslations translations);
15
16       void XtOverrideTranslations(Widget w, XtTranslations translations);
17
18       void XtUninstallTranslations(Widget w);
19

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

56       XtAppAddActions(3), XtCreatePopupShell(3), XtParseAcceleratorTable(3),
57       XtPopup(3)
58       X Toolkit Intrinsics - C Language Interface
59       Xlib - C Language X Interface
60
61
62
63X Version 11                      libXt 1.2.0       XtParseTranslationTable(3)
Impressum