tool-bar-local-item-from-menu

tool-bar-local-item-from-menu is an autoloaded compiled Lisp function in `tool-bar.el'.

(tool-bar-local-item-from-menu COMMAND ICON IN-MAP &optional FROM-MAP &rest PROPS)

Define local tool bar binding for COMMAND using the given ICON.
This makes a binding for COMMAND in IN-MAP, copying its binding from
the menu bar in FROM-MAP (which defaults to `global-map'), but
modifies the binding by adding an image specification for ICON. It
finds ICON just like `tool-bar-add-item'. PROPS are additional
properties to add to the binding.

FROM-MAP must contain appropriate binding for `[menu-bar]' which
holds a keymap.