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

NAME

6       XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAll‐
7       Accelerators - managing accelerator tables
8

SYNTAX

10       #include <X11/Intrinsic.h>
11
12       XtAccelerators XtParseAcceleratorTable(const char * source);
13
14       void XtInstallAccelerators(Widget destination, Widget source);
15
16       void XtInstallAllAccelerators(Widget destination, Widget source);
17

ARGUMENTS

19       source    Specifies the accelerator table to compile.
20
21       destination
22                 Specifies the widget on which the accelerators are to be in‐
23                 stalled.
24
25       source    Specifies the widget or the root widget of the widget tree
26                 from which the accelerators are to come.
27

DESCRIPTION

29       The XtParseAcceleratorTable function compiles the accelerator table
30       into the opaque internal representation.
31
32       The XtInstallAccelerators function installs the accelerators from
33       source onto destination by augmenting the destination translations with
34       the source accelerators.  If the source display_accelerator method is
35       non-NULL, XtInstallAccelerators calls it with the source widget and a
36       string representation of the accelerator table, which indicates that
37       its accelerators have been installed and that it should display them
38       appropriately.  The string representation of the accelerator table is
39       its canonical translation table representation.
40
41       The XtInstallAllAccelerators function recursively descends the widget
42       tree rooted at source and installs the accelerators of each widget en‐
43       countered onto destination.  A common use os to call XtInstallAll‐
44       Accelerators and pass the application main window as the source.
45

SEE ALSO

47       XtParseTranslationTable(1)
48       X Toolkit Intrinsics - C Language Interface
49       Xlib - C Language X Interface
50
51
52
53X Version 11                      libXt 1.2.1       XtParseAcceleratorTable(3)
Impressum