annotate man/lispref/toolbar.texi @ 408:501cfd01ee6d r21-2-34

Import from CVS: tag r21-2-34
author cvs
date Mon, 13 Aug 2007 11:18:11 +0200
parents 2f8bb876ab1d
children 697ef44129c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 @c -*-texinfo-*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 @c This is part of the XEmacs Lisp Reference Manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @c Copyright (C) 1995, 1996 Ben Wing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @c See the file lispref.texi for copying conditions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @setfilename ../../info/toolbar.info
404
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
6 @node Toolbar, Gutter, Dialog Boxes, top
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @chapter Toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 @cindex toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 * Toolbar Intro:: An introduction.
408
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
12 * Creating Toolbar:: How to create a toolbar.
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
13 * Toolbar Descriptor Format:: Accessing and modifying a toolbar's
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
14 properties.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 * Specifying the Toolbar:: Setting a toolbar's contents.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 * Other Toolbar Variables:: Controlling the size of toolbars.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 @node Toolbar Intro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 @section Toolbar Intro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 A @dfn{toolbar} is a bar of icons displayed along one edge of a frame.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 394
diff changeset
23 You can view a toolbar as a series of menu shortcuts---the most
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 common menu options can be accessed with a single click rather than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 a series of clicks and/or drags to select the option from a menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 Consistent with this, a help string (called the @dfn{help-echo})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 describing what an icon in the toolbar (called a @dfn{toolbar button})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 does, is displayed in the minibuffer when the mouse is over the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 button.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 In XEmacs, a toolbar can be displayed along any of the four edges
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 of the frame, and two or more different edges can be displaying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 toolbars simultaneously. The contents, thickness, and visibility of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 the toolbars can be controlled separately, and the values can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 be per-buffer, per-frame, etc., using specifiers (@pxref{Specifiers}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 Normally, there is one toolbar displayed in a frame. Usually, this is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 the standard toolbar, but certain modes will override this and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 substitute their own toolbar. In some cases (e.g. the VM package), a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 package will supply its own toolbar along a different edge from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 standard toolbar, so that both can be visible at once. This standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 toolbar is usually positioned along the top of the frame, but this can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 be changed using @code{set-default-toolbar-position}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 Note that, for each of the toolbar properties (contents, thickness,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 and visibility), there is a separate specifier for each of the four
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 toolbar positions (top, bottom, left, and right), and an additional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 specifier for the ``default'' toolbar, i.e. the toolbar whose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 position is controlled by @code{set-default-toolbar-position}. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 way this works is that @code{set-default-toolbar-position} arranges
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 things so that the appropriate position-specific specifiers for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 default position inherit from the corresponding default specifiers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 That way, if the position-specific specifier does not give a value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (which it usually doesn't), then the value from the default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 specifier applies. If you want to control the default toolbar, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 just change the default specifiers, and everything works. A package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 such as VM that wants to put its own toolbar in a different location
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 from the default just sets the position-specific specifiers, and if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 the user sets the default toolbar to the same position, it will just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 not be visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
408
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
62 @node Creating Toolbar
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
63 @section Creating Toolbar
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
64
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
65 @defun make-toolbar-specifier spec-list
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
66
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
67 Return a new @code{toolbar} specifier object with the given
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
68 specification list. @var{spec-list} can be a list of specifications
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
69 (each of which is a cons of a locale and a list of instantiators), a
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
70 single instantiator, or a list of instantiators. @xref{Specifiers}, for
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
71 more information about specifiers.
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
72
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
73 Toolbar specifiers are used to specify the format of a toolbar. The
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
74 values of the variables @code{default-toolbar}, @code{top-toolbar},
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
75 @code{left-toolbar}, @code{right-toolbar}, and @code{bottom-toolbar} are
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
76 always toolbar specifiers.
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
77
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
78 Valid toolbar instantiators are called "toolbar descriptors"
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
79 and are lists of vectors. See @code{default-toolbar} for a description
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
80 of the exact format.
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
81 @end defun
501cfd01ee6d Import from CVS: tag r21-2-34
cvs
parents: 404
diff changeset
82
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 @node Toolbar Descriptor Format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 @section Toolbar Descriptor Format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 The contents of a toolbar are specified using a @dfn{toolbar descriptor}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 The format of a toolbar descriptor is a list of @dfn{toolbar button
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 descriptors}. Each toolbar button descriptor is a vector in one of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 following formats:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 @code{[@var{glyph-list} @var{function} @var{enabled-p} @var{help}]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 @code{[:style @var{2d-or-3d}]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 @code{[:style @var{2d-or-3d} :size @var{width-or-height}]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 @code{[:size @var{width-or-height} :style @var{2d-or-3d}]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 Optionally, one of the toolbar button descriptors may be @code{nil}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 instead of a vector; this signifies the division between the toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 buttons that are to be displayed flush-left, and the buttons to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 displayed flush-right.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 The first vector format above specifies a normal toolbar button;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 the others specify blank areas in the toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 For the first vector format:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 @var{glyph-list} should be a list of one to six glyphs (as created by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 @code{make-glyph}) or a symbol whose value is such a list. The first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 glyph, which must be provided, is the glyph used to display the toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 button when it is in the ``up'' (not pressed) state. The optional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 second glyph is for displaying the button when it is in the ``down''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 (pressed) state. The optional third glyph is for when the button is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 disabled. The last three glyphs are for displaying the button in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 ``up'', ``down'', and ``disabled'' states, respectively, but are used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 when the user has called for captioned toolbar buttons (using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 @code{toolbar-buttons-captioned-p}). The function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 @code{toolbar-make-button-list} is useful in creating these glyph lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 Even if you do not provide separate down-state and disabled-state
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 glyphs, the user will still get visual feedback to indicate which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 state the button is in. Buttons in the up-state are displayed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 with a shadowed border that gives a raised appearance to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 button. Buttons in the down-state are displayed with shadows that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 give a recessed appearance. Buttons in the disabled state are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 displayed with no shadows, giving a 2-d effect.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 If some of the toolbar glyphs are not provided, they inherit as follows:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 UP: up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 DOWN: down -> up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 DISABLED: disabled -> up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 CAP-UP: cap-up -> up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 CAP-DOWN: cap-down -> cap-up -> down -> up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 CAP-DISABLED: cap-disabled -> cap-up -> disabled -> up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 The second element @var{function} is a function to be called when the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 toolbar button is activated (i.e. when the mouse is released over the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 toolbar button, if the press occurred in the toolbar). It can be any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 form accepted by @code{call-interactively}, since this is how it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 invoked.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 The third element @var{enabled-p} specifies whether the toolbar button
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 is enabled (disabled buttons do nothing when they are activated, and are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 displayed differently; see above). It should be either a boolean or a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 form that evaluates to a boolean.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 The fourth element @var{help}, if non-@code{nil}, should be a string.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 This string is displayed in the echo area when the mouse passes over the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 toolbar button.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 For the other vector formats (specifying blank areas of the toolbar):
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 @var{2d-or-3d} should be one of the symbols @code{2d} or @code{3d},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 indicating whether the area is displayed with shadows (giving it a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 raised, 3-d appearance) or without shadows (giving it a flat
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 appearance).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 @var{width-or-height} specifies the length, in pixels, of the blank
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 area. If omitted, it defaults to a device-specific value (8 pixels for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 X devices).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 @defun toolbar-make-button-list up &optional down disabled cap-up cap-down cap-disabled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 This function calls @code{make-glyph} on each arg and returns a list of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 the results. This is useful for setting the first argument of a toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 button descriptor (typically, the result of this function is assigned
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 to a symbol, which is specified as the first argument of the toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 button descriptor).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 @end defun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 @defun check-toolbar-button-syntax button &optional noerror
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 Verify the syntax of entry @var{button} in a toolbar description list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 If you want to verify the syntax of a toolbar description list as a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 whole, use @code{check-valid-instantiator} with a specifier type of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 @code{toolbar}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @end defun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 @node Specifying the Toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 @section Specifying the Toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 In order to specify the contents of a toolbar, set one of the specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 variables @code{default-toolbar}, @code{top-toolbar},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 @code{bottom-toolbar}, @code{left-toolbar}, or @code{right-toolbar}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 These are specifiers, which means you set them with @code{set-specifier}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 and query them with @code{specifier-specs} or @code{specifier-instance}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 You will get an error if you try to set them using @code{setq}. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 valid instantiators for these specifiers are toolbar descriptors, as
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 371
diff changeset
206 described above. @xref{Specifiers}, for more information.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 Most of the time, you will set @code{default-toolbar}, which allows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 the user to choose where the toolbar should go.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 @defvr Specifier default-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 The position of this toolbar is specified in the function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 @code{default-toolbar-position}. If the corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 position-specific toolbar (e.g. @code{top-toolbar} if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 @code{default-toolbar-position} is @code{top}) does not specify a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 toolbar in a particular domain, then the value of @code{default-toolbar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 in that domain, of any, will be used instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 Note that the toolbar at any particular position will not be displayed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 unless its thickness (width or height, depending on orientation) is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 non-zero and its visibility status is true. The thickness is controlled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 by the specifiers @code{top-toolbar-height},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 @code{bottom-toolbar-height}, @code{left-toolbar-width}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 @code{right-toolbar-width}, and the visibility status is controlled by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 the specifiers @code{top-toolbar-visible-p},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 @code{bottom-toolbar-visible-p}, @code{left-toolbar-visible-p}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 @code{right-toolbar-visible-p} (@pxref{Other Toolbar Variables}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 @defun set-default-toolbar-position position
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 This function sets the position that the @code{default-toolbar} will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 displayed at. Valid positions are the symbols @code{top},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 @code{bottom}, @code{left} and @code{right}. What this actually does is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 set the fallback specifier for the position-specific specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 corresponding to the given position to @code{default-toolbar}, and set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 the fallbacks for the other position-specific specifiers to @code{nil}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 It also does the same thing for the position-specific thickness and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 visibility specifiers, which inherit from one of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 @code{default-toolbar-height} or @code{default-toolbar-width}, and from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 @code{default-toolbar-visible-p}, respectively (@pxref{Other Toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 Variables}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 @end defun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 @defun default-toolbar-position
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 This function returns the position that the @code{default-toolbar} will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 be displayed at.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 @end defun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 You can also explicitly set a toolbar at a particular position. When
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 redisplay determines what to display at a particular position in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 particular domain (i.e. window), it first consults the position-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 toolbar. If that does not yield a toolbar descriptor, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 @code{default-toolbar} is consulted if @code{default-toolbar-position}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 indicates this position.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 @defvr Specifier top-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 Specifier for the toolbar at the top of the frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 @defvr Specifier bottom-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 Specifier for the toolbar at the bottom of the frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 @defvr Specifier left-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 Specifier for the toolbar at the left edge of the frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 @defvr Specifier right-toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 Specifier for the toolbar at the right edge of the frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 @defun toolbar-specifier-p object
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 This function returns non-nil if @var{object} is a toolbar specifier.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 Toolbar specifiers are the actual objects contained in the toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 variables described above, and their valid instantiators are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 toolbar descriptors (@pxref{Toolbar Descriptor Format}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 @end defun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 @node Other Toolbar Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 @section Other Toolbar Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 The variables to control the toolbar thickness, visibility status, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 captioned status are all specifiers. @xref{Specifiers}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 @defvr Specifier default-toolbar-height
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 This specifies the height of the default toolbar, if it's oriented
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 horizontally. The position of the default toolbar is specified by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 function @code{set-default-toolbar-position}. If the corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 position-specific toolbar thickness specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 (e.g. @code{top-toolbar-height} if @code{default-toolbar-position} is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 @code{top}) does not specify a thickness in a particular domain (a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 window or a frame), then the value of @code{default-toolbar-height} or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 @code{default-toolbar-width} (depending on the toolbar orientation) in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 that domain, if any, will be used instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 @defvr Specifier default-toolbar-width
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 This specifies the width of the default toolbar, if it's oriented
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 vertically. This behaves like @code{default-toolbar-height}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 Note that @code{default-toolbar-height} is only used when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 @code{default-toolbar-position} is @code{top} or @code{bottom}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 @code{default-toolbar-width} is only used when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 @code{default-toolbar-position} is @code{left} or @code{right}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 @defvr Specifier top-toolbar-height
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 This specifies the height of the top toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 @defvr Specifier bottom-toolbar-height
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 This specifies the height of the bottom toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 @defvr Specifier left-toolbar-width
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 This specifies the width of the left toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 @defvr Specifier right-toolbar-width
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 This specifies the width of the right toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 Note that all of the position-specific toolbar thickness specifiers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 have a fallback value of zero when they do not correspond to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 default toolbar. Therefore, you will have to set a non-zero thickness
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 value if you want a position-specific toolbar to be displayed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 @defvr Specifier default-toolbar-visible-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 This specifies whether the default toolbar is visible. The position of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 the default toolbar is specified by the function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 @code{set-default-toolbar-position}. If the corresponding position-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 toolbar visibility specifier (e.g. @code{top-toolbar-visible-p} if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 @code{default-toolbar-position} is @code{top}) does not specify a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 visible-p value in a particular domain (a window or a frame), then the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 value of @code{default-toolbar-visible-p} in that domain, if any, will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 be used instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 @defvr Specifier top-toolbar-visible-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 This specifies whether the top toolbar is visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 @defvr Specifier bottom-toolbar-visible-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 This specifies whether the bottom toolbar is visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 @defvr Specifier left-toolbar-visible-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 This specifies whether the left toolbar is visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 @defvr Specifier right-toolbar-visible-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 This specifies whether the right toolbar is visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 @code{default-toolbar-visible-p} and all of the position-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 toolbar visibility specifiers have a fallback value of true.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 Internally, toolbar thickness and visibility specifiers are instantiated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 in both window and frame domains, for different purposes. The value in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 the domain of a frame's selected window specifies the actual toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 thickness or visibility that you will see in that frame. The value in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 the domain of a frame itself specifies the toolbar thickness or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 visibility that is used in frame geometry calculations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 Thus, for example, if you set the frame width to 80 characters and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 left toolbar width for that frame to 68 pixels, then the frame will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 sized to fit 80 characters plus a 68-pixel left toolbar. If you then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 set the left toolbar width to 0 for a particular buffer (or if that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 buffer does not specify a left toolbar or has a nil value specified for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 @code{left-toolbar-visible-p}), you will find that, when that buffer is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 displayed in the selected window, the window will have a width of 86 or
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 394
diff changeset
372 87 characters---the frame is sized for a 68-pixel left toolbar but the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 selected window specifies that the left toolbar is not visible, so it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 expanded to take up the slack.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 @defvr Specifier toolbar-buttons-captioned-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 Whether toolbar buttons are captioned. This affects which glyphs from a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 toolbar button descriptor are chosen. @xref{Toolbar Descriptor Format}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 @end defvr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 You can also reset the toolbar to what it was when XEmacs started up.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 @defvr Constant initial-toolbar-spec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 The toolbar descriptor used to initialize @code{default-toolbar} at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 startup.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 @end defvr