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

NAME

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

SYNTAX

10       XtAccelerators XtParseAcceleratorTable(String source);
11
12       void XtInstallAccelerators(Widget destination, Widget source);
13
14       void XtInstallAllAccelerators(Widget destination, Widget source);
15

ARGUMENTS

17       source    Specifies the accelerator table to compile.
18
19       destination
20                 Specifies the widget on which the accelerators are to be
21                 installed.
22
23       source    Specifies the widget or the root widget of the widget tree
24                 from which the accelerators are to come.
25

DESCRIPTION

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

SEE ALSO

45       XtParseTranslationTable(1)
46       X Toolkit Intrinsics - C Language Interface
47       Xlib - C Language X Interface
48
49
50
51X Version 11                      libXt 1.1.5       XtParseAcceleratorTable(3)
Impressum