Mercurial > hg > xemacs-beta
comparison man/lispref/toolbar.texi @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | abe6d1db359e |
children | 9eddcb9548e2 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
208 Most of the time, you will set @code{default-toolbar}, which allows | 208 Most of the time, you will set @code{default-toolbar}, which allows |
209 the user to choose where the toolbar should go. | 209 the user to choose where the toolbar should go. |
210 | 210 |
211 @defvr Specifier default-toolbar | 211 @defvr Specifier default-toolbar |
212 The position of this toolbar is specified in the function | 212 The position of this toolbar is specified in the function |
213 @code{default-toolbar-position}. If the corresponding | 213 @code{default-toolbar-position}. If the corresponding |
214 position-specific toolbar (e.g. @code{top-toolbar} if | 214 position-specific toolbar (e.g. @code{top-toolbar} if |
215 @code{default-toolbar-position} is @code{top}) does not specify a | 215 @code{default-toolbar-position} is @code{top}) does not specify a |
216 toolbar in a particular domain, then the value of @code{default-toolbar} | 216 toolbar in a particular domain, then the value of @code{default-toolbar} |
217 in that domain, of any, will be used instead. | 217 in that domain, of any, will be used instead. |
218 @end defvr | 218 @end defvr |
268 @defvr Specifier right-toolbar | 268 @defvr Specifier right-toolbar |
269 Specifier for the toolbar at the right edge of the frame. | 269 Specifier for the toolbar at the right edge of the frame. |
270 @end defvr | 270 @end defvr |
271 | 271 |
272 @defun toolbar-specifier-p object | 272 @defun toolbar-specifier-p object |
273 This function returns non-nil if @var{object} is a toolbar specifier. | 273 This function returns non-@code{nil} if @var{object} is a toolbar specifier. |
274 Toolbar specifiers are the actual objects contained in the toolbar | 274 Toolbar specifiers are the actual objects contained in the toolbar |
275 variables described above, and their valid instantiators are | 275 variables described above, and their valid instantiators are |
276 toolbar descriptors (@pxref{Toolbar Descriptor Format}). | 276 toolbar descriptors (@pxref{Toolbar Descriptor Format}). |
277 @end defun | 277 @end defun |
278 | 278 |
364 | 364 |
365 Thus, for example, if you set the frame width to 80 characters and the | 365 Thus, for example, if you set the frame width to 80 characters and the |
366 left toolbar width for that frame to 68 pixels, then the frame will be | 366 left toolbar width for that frame to 68 pixels, then the frame will be |
367 sized to fit 80 characters plus a 68-pixel left toolbar. If you then | 367 sized to fit 80 characters plus a 68-pixel left toolbar. If you then |
368 set the left toolbar width to 0 for a particular buffer (or if that | 368 set the left toolbar width to 0 for a particular buffer (or if that |
369 buffer does not specify a left toolbar or has a nil value specified for | 369 buffer does not specify a left toolbar or has a @code{nil} value specified for |
370 @code{left-toolbar-visible-p}), you will find that, when that buffer is | 370 @code{left-toolbar-visible-p}), you will find that, when that buffer is |
371 displayed in the selected window, the window will have a width of 86 or | 371 displayed in the selected window, the window will have a width of 86 or |
372 87 characters---the frame is sized for a 68-pixel left toolbar but the | 372 87 characters---the frame is sized for a 68-pixel left toolbar but the |
373 selected window specifies that the left toolbar is not visible, so it is | 373 selected window specifies that the left toolbar is not visible, so it is |
374 expanded to take up the slack. | 374 expanded to take up the slack. |