X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Ftoolbar.el;h=74d44e7c030ae1c216496d57c808d88dfb37f338;hb=76759ab036458c54499a454399e19602b8ae6ce3;hp=772abf5af4ad513967d8be6b57af96ee71bdd9b1;hpb=f2dd0c6265bf937f7899e2ec552fb9e330bef556;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/toolbar.el b/lisp/toolbar.el index 772abf5..74d44e7 100644 --- a/lisp/toolbar.el +++ b/lisp/toolbar.el @@ -198,4 +198,21 @@ as an argument if release is over a blank area of the toolbar." (setq zmacs-region-stays t) (release-toolbar-button-internal event nil)) +(defun make-toolbar-specifier (spec-list) + "Return a new `toolbar' specifier object with the given specification list. +SPEC-LIST can be a list of specifications (each of which is a cons of a +locale and a list of instantiators), a single instantiator, or a list +of instantiators. See `make-specifier' for more information about +specifiers. + +Toolbar specifiers are used to specify the format of a toolbar. +The values of the variables `default-toolbar', `top-toolbar', +`left-toolbar', `right-toolbar', and `bottom-toolbar' are always +toolbar specifiers. + +Valid toolbar instantiators are called \"toolbar descriptors\" +and are lists of vectors. See `default-toolbar' for a description +of the exact format." + (make-specifier-and-init 'toolbar spec-list)) + ;;; toolbar.el ends here