comparison 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
comparison
equal deleted inserted replaced
407:ed6218a7d4d3 408:501cfd01ee6d
7 @chapter Toolbar 7 @chapter Toolbar
8 @cindex toolbar 8 @cindex toolbar
9 9
10 @menu 10 @menu
11 * Toolbar Intro:: An introduction. 11 * Toolbar Intro:: An introduction.
12 * Toolbar Descriptor Format:: How to create a toolbar. 12 * Creating Toolbar:: How to create a toolbar.
13 * Toolbar Descriptor Format:: Accessing and modifying a toolbar's
14 properties.
13 * Specifying the Toolbar:: Setting a toolbar's contents. 15 * Specifying the Toolbar:: Setting a toolbar's contents.
14 * Other Toolbar Variables:: Controlling the size of toolbars. 16 * Other Toolbar Variables:: Controlling the size of toolbars.
15 @end menu 17 @end menu
16 18
17 @node Toolbar Intro 19 @node Toolbar Intro
55 such as VM that wants to put its own toolbar in a different location 57 such as VM that wants to put its own toolbar in a different location
56 from the default just sets the position-specific specifiers, and if 58 from the default just sets the position-specific specifiers, and if
57 the user sets the default toolbar to the same position, it will just 59 the user sets the default toolbar to the same position, it will just
58 not be visible. 60 not be visible.
59 61
62 @node Creating Toolbar
63 @section Creating Toolbar
64
65 @defun make-toolbar-specifier spec-list
66
67 Return a new @code{toolbar} specifier object with the given
68 specification list. @var{spec-list} can be a list of specifications
69 (each of which is a cons of a locale and a list of instantiators), a
70 single instantiator, or a list of instantiators. @xref{Specifiers}, for
71 more information about specifiers.
72
73 Toolbar specifiers are used to specify the format of a toolbar. The
74 values of the variables @code{default-toolbar}, @code{top-toolbar},
75 @code{left-toolbar}, @code{right-toolbar}, and @code{bottom-toolbar} are
76 always toolbar specifiers.
77
78 Valid toolbar instantiators are called "toolbar descriptors"
79 and are lists of vectors. See @code{default-toolbar} for a description
80 of the exact format.
81 @end defun
82
60 @node Toolbar Descriptor Format 83 @node Toolbar Descriptor Format
61 @section Toolbar Descriptor Format 84 @section Toolbar Descriptor Format
62 85
63 The contents of a toolbar are specified using a @dfn{toolbar descriptor}. 86 The contents of a toolbar are specified using a @dfn{toolbar descriptor}.
64 The format of a toolbar descriptor is a list of @dfn{toolbar button 87 The format of a toolbar descriptor is a list of @dfn{toolbar button