File: window-tool-bar.el.html

This package puts a tool bar in each window. This allows you to see multiple tool bars simultaneously directly next to the buffer it acts on which feels much more intuitive. Emacs "browsing" modes generally have sensible tool bars, for example: *info*, *help*, and
*eww* have them.

It does this while being mindful of screen real estate. If tool-bar-map is nil, then this package will not take up any space for an empty tool bar. Most modes do not define a custom tool bar, so calling (setq tool-bar-map nil) in your init file will make most buffers not take up space for a tool bar.

To get the default behavior, run (global-window-tool-bar-mode 1) or enable via M-x customize-group RET window-tool-bar RET. This uses the per-window tab line to show the tool bar.

If you want to share space with an existing tab line, mode line, or header line, add (:eval (window-tool-bar-string)) to tab-line-format(var)/tab-line-format(fun), mode-line-format, or header-line-format.

For additional documentation, see info node (emacs)Window Tool Bar

Defined variables (12)

global-window-tool-bar-modeNon-nil if Global Window-Tool-Bar mode is enabled.
global-window-tool-bar-mode-hookHook run after entering or leaving ‘global-window-tool-bar-mode’.
window-tool-bar--button-keymapKeymap used by ‘window-tool-bar--keymap-entry-to-string’.
window-tool-bar--ignored-event-typesCache for ‘window-tool-bar--last-command-triggers-refresh-p’.
window-tool-bar--memory-use-delta-step1Absolute delta of memory use counters during step 1.
window-tool-bar--memory-use-delta-step2Absolute delta of memory use counters during step 2.
window-tool-bar--refresh-done-countNumber of tool bar string refreshes run.
window-tool-bar--refresh-skipped-countNumber of tool bar string refreshes that were skipped.
window-tool-bar-modeNon-nil if Window-Tool-Bar mode is enabled.
window-tool-bar-mode-hookHook run after entering or leaving ‘window-tool-bar-mode’.
window-tool-bar-string--cacheCache for previous result of ‘window-tool-bar-string’.
window-tool-bar-styleTool bar style to use for window tool bars.

Defined functions (16)

global-window-tool-bar-mode(&optional ARG)
window-tool-bar--call-button()
window-tool-bar--command-triggers-shift-select-p(COMMAND)
window-tool-bar--get-keymap()
window-tool-bar--ignore()
window-tool-bar--insert-memory-use(LABEL AVG-MEMORY-USE)
window-tool-bar--keymap-entry-to-string(MENU-ITEM)
window-tool-bar--last-command-triggers-refresh-p()
window-tool-bar--make-keymap-1()
window-tool-bar--memory-use-avg-step1()
window-tool-bar--memory-use-avg-step2()
window-tool-bar--style()
window-tool-bar--turn-on()
window-tool-bar-debug-show-memory-use()
window-tool-bar-mode(&optional ARG)
window-tool-bar-string()

Defined faces (5)

window-tool-bar-buttonFace used for buttons when the mouse is not hovering over the button.
window-tool-bar-button-checkedFace used for buttons when they are toggled.
window-tool-bar-button-checked-hoverFace used for buttons when the mouse is hovering over the button.
window-tool-bar-button-disabledFace used for buttons when the button is disabled.
window-tool-bar-button-hoverFace used for buttons when the mouse is hovering over the button.