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-mode | Non-nil if Global Window-Tool-Bar mode is enabled. |
global-window-tool-bar-mode-hook | Hook run after entering or leaving ‘global-window-tool-bar-mode’. |
window-tool-bar--button-keymap | Keymap used by ‘window-tool-bar--keymap-entry-to-string’. |
window-tool-bar--ignored-event-types | Cache for ‘window-tool-bar--last-command-triggers-refresh-p’. |
window-tool-bar--memory-use-delta-step1 | Absolute delta of memory use counters during step 1. |
window-tool-bar--memory-use-delta-step2 | Absolute delta of memory use counters during step 2. |
window-tool-bar--refresh-done-count | Number of tool bar string refreshes run. |
window-tool-bar--refresh-skipped-count | Number of tool bar string refreshes that were skipped. |
window-tool-bar-mode | Non-nil if Window-Tool-Bar mode is enabled. |
window-tool-bar-mode-hook | Hook run after entering or leaving ‘window-tool-bar-mode’. |
window-tool-bar-string--cache | Cache for previous result of ‘window-tool-bar-string’. |
window-tool-bar-style | Tool bar style to use for window tool bars. |
Defined functions (16)
Defined faces (5)
window-tool-bar-button | Face used for buttons when the mouse is not hovering over the button. |
window-tool-bar-button-checked | Face used for buttons when they are toggled. |
window-tool-bar-button-checked-hover | Face used for buttons when the mouse is hovering over the button. |
window-tool-bar-button-disabled | Face used for buttons when the button is disabled. |
window-tool-bar-button-hover | Face used for buttons when the mouse is hovering over the button. |