Function: toolbarx-mount-popup-menu
toolbarx-mount-popup-menu is a byte-compiled function defined in
toolbar-x.el.
Signature
(toolbarx-mount-popup-menu STRINGS VAR TYPE &optional TITLE SAVE)
Documentation
Return a command that show a popup menu.
The return is a lambda-expression with a interactive declaration.
STRINGS is a list of strings which will be the itens of the menu.
VAR is a symbol that is set when an item is clicked. TYPE should
be one of the symbols radio or toggle: radio means that the
nth item is selected if VAR is n and this item sets VAR to n;
toggle means that VAR should be a list of integers and the nth
item is selected if n belongs to VAR. The item inserts or
deletes n from VAR.
TITLE is a string (the title of the popup menu) or nil for no title.
SAVE is one of the symbols nil, offer or always. If value
is nil, do not try to save anything. If it is offer, a menu
item is added offering the user the possibiity to save state of
that dropdown menu for future sesseions (using custom). If it
is always, state is saved every time that a item is clicked.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/toolbar-x.el
(defun toolbarx-mount-popup-menu (strings var type &optional title save)
"Return a command that show a popup menu.
The return is a `lambda'-expression with a interactive declaration.
STRINGS is a list of strings which will be the itens of the menu.
VAR is a symbol that is set when an item is clicked. TYPE should
be one of the symbols `radio' or `toggle': `radio' means that the
nth item is selected if VAR is `n' and this item sets VAR to `n';
`toggle' means that VAR should be a list of integers and the nth
item is selected if `n' belongs to VAR. The item inserts or
deletes `n' from VAR.
TITLE is a string (the title of the popup menu) or nil for no
title.
SAVE is one of the symbols nil, `offer' or `always'. If value
is nil, do not try to save anything. If it is `offer', a menu
item is added offering the user the possibiity to save state of
that dropdown menu for future sesseions (using `custom'). If it
is `always', state is saved every time that a item is clicked."
(toolbarx-emacs-mount-popup-menu strings var type title save))