Variable: toolbarx-button-props

toolbarx-button-props is a variable defined in toolbar-x.el.

Value

(((:image toolbarx-test-image-type) (:command toolbarx-test-any-type)
  (:enable toolbarx-test-any-type) (:visible toolbarx-test-any-type)
  (:help toolbarx-test-string-or-nil)
  (:insert toolbarx-test-any-type . and)
  (:button toolbarx-test-button-type)
  (:append-command toolbarx-test-any-type . progn)
  (:prepend-command toolbarx-test-any-type . progn))
 (:image :command :enable :visible :help :insert :button
	 :append-command :prepend-command)
 (:image :command :enable :visible :help :button)
 (:insert :append-command :prepend-command))

Documentation

List yielding all encarnations of properties of a button.

First element: alist, where each element is of form
 (PROP . (TYPE-TEST-FUNCTION . ADD-OR-NIL))
Second is a list with all properties. Third, a list with properties that override when merging. Fourth, a list of lists, each in the format (PROP ADD).

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/toolbar-x.el
(defconst toolbarx-button-props
  (let* ((props-types-alist
          '((:image           toolbarx-test-image-type)
            (:command         toolbarx-test-any-type)
            (:enable          toolbarx-test-any-type)
            (:visible         toolbarx-test-any-type)
            (:help            toolbarx-test-string-or-nil)
            (:insert          toolbarx-test-any-type       . and)
            ;; (:toolbar         toolbarx-test-toolbar-type)
            (:button          toolbarx-test-button-type)
            (:append-command  toolbarx-test-any-type       . progn)
            (:prepend-command toolbarx-test-any-type       . progn)))
         (possible-props (nreverse (let* ((props ()))
                                     (dolist (p props-types-alist props)
                                       (setq props (cons (car p) props))))))
         (props-override (nreverse (let* ((props ()))
                                     (dolist (p props-types-alist props)
                                       (unless (cddr p)
                                         (setq props (cons (car p) props)))))))
         (props-add (nreverse (let* ((props ()))
                                (dolist (p props-types-alist props)
                                  (when (cddr p)
                                    (setq props (cons (car p) props))))))))
    (list props-types-alist possible-props props-override props-add))
  "List yielding all encarnations of properties of a button.
First element: alist, where each element is of form
 (PROP . (TYPE-TEST-FUNCTION . ADD-OR-NIL))
Second is a list with all properties.
Third, a list with properties that override when merging.
Fourth, a list of lists, each in the format (PROP ADD).")