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 (7)
modifier-bar-mode | Non-nil if Modifier-Bar mode is enabled. |
modifier-bar-mode-hook | Hook run after entering or leaving ‘modifier-bar-mode’. |
modifier-bar-modifier-list | List of modifiers that are currently applied. |
secondary-tool-bar-map | Optional secondary keymap for the tool bar. |
tool-bar-always-show-default | If non-nil, ‘tool-bar-mode’ only shows the default tool bar. |
tool-bar-map | Keymap for the tool bar. |
tool-bar-mode-hook | Hook run after entering or leaving ‘tool-bar-mode’. |
Defined functions (20)
modifier-bar-available-p | (MODIFIER) |
modifier-bar-button | (INIT-MODIFIER-LIST) |
modifier-bar-mode | (&optional ARG) |
toggle-tool-bar-mode-from-frame | (&optional ARG) |
tool-bar--flush-cache | () |
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-apply-modifiers | (EVENT MODIFIERS) |
tool-bar-event-apply-alt-modifier | (IGNORE-PROMPT) |
tool-bar-event-apply-control-modifier | (IGNORE-PROMPT) |
tool-bar-event-apply-hyper-modifier | (IGNORE-PROMPT) |
tool-bar-event-apply-meta-modifier | (IGNORE-PROMPT) |
tool-bar-event-apply-shift-modifier | (IGNORE-PROMPT) |
tool-bar-event-apply-super-modifier | (IGNORE-PROMPT) |
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 | (&optional MAP) |
tool-bar-mode | (&optional ARG) |