File: tool-bar.el.html

Provides tool-bar-mode(var)/tool-bar-mode(fun) to control display of the tool-bar and bindings for the global tool bar with convenience functions tool-bar-add-item and tool-bar-add-item-from-menu.

The normal global binding for [tool-bar] (below) uses the value of tool-bar-map as the actual keymap to define the tool bar. Modes may either bind items under the [tool-bar] prefix key of the local map to add to the global bar or may set tool-bar-map buffer-locally to override it. (Some items are removed from the global bar in modes which have special as their mode-class property.)

Todo: Somehow make tool bars easily customizable by the naive?

Defined variables (2)

tool-bar-mapKeymap for the tool bar.
tool-bar-mode-hookHook run after entering or leaving ‘tool-bar-mode’.

Defined functions (9)

toggle-tool-bar-mode-from-frame(&optional ARG)
tool-bar--image-expression(ICON)
tool-bar-add-item(ICON DEF KEY &rest PROPS)
tool-bar-add-item-from-menu(COMMAND ICON &optional MAP &rest PROPS)
tool-bar-local-item(ICON DEF KEY MAP &rest PROPS)
tool-bar-local-item-from-menu(COMMAND ICON IN-MAP &optional FROM-MAP &rest PROPS)
tool-bar-make-keymap(&optional IGNORE)
tool-bar-make-keymap-1()
tool-bar-mode(&optional ARG)

Defined faces (0)