Function: system-taskbar-mode

system-taskbar-mode is an autoloaded, interactive and byte-compiled function defined in system-taskbar.el.gz.

Signature

(system-taskbar-mode &optional ARG)

Documentation

System GUI taskbar icon badge, progress report, alerting.

This is a global minor mode. If called interactively, toggle the System-Taskbar mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate (default-value \=system-taskbar-mode)'.

The mode's hook is called both when the mode is enabled and when it is disabled.

View in manual

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/system-taskbar.el.gz
;;;###autoload
(define-minor-mode system-taskbar-mode
  "System GUI taskbar icon badge, progress report, alerting."
  :global t
  (when noninteractive
    (warn "Batch mode does not support `system-taskbar'"))
  (cond (system-taskbar-mode
         (if (and (system-taskbar--set-back-end)
                  (system-taskbar--enable))
             (when system-taskbar-use-progress-reporter
               (system-taskbar-progress-reporter-install))
           (setq system-taskbar-mode nil)
           (warn "`system-taskbar' could not be initialized")))
        (t
         (system-taskbar-progress-reporter-remove)
         (when system-taskbar--back-end
           (system-taskbar--badge nil)
           (system-taskbar--attention nil)
           (system-taskbar--progress nil)
           (system-taskbar--disable)
           (setq system-taskbar--back-end nil)))))