Variable: tree-widget-before-create-icon-functions

tree-widget-before-create-icon-functions is a variable defined in tree-widget.el.gz.

Value

nil

Documentation

Hooks run before to create a tree-widget icon.

Each function is passed the icon widget not yet created. The value of the icon widget :node property is a tree :node widget or a leaf node widget, not yet created. This hook can be used to dynamically change properties of the icon and associated node widgets. For example, to dynamically change the look and feel of the tree-widget by changing the values of the :tag and :glyph-name properties of the icon widget. This hook should be local in the buffer setup to display widgets.

Source Code

;; Defined in /usr/src/emacs/lisp/tree-widget.el.gz
;;; Widget creation
;;
(defvar tree-widget-before-create-icon-functions nil
  "Hooks run before to create a tree-widget icon.
Each function is passed the icon widget not yet created.
The value of the icon widget :node property is a tree :node widget or
a leaf node widget, not yet created.
This hook can be used to dynamically change properties of the icon and
associated node widgets.  For example, to dynamically change the look
and feel of the tree-widget by changing the values of the :tag
and :glyph-name properties of the icon widget.
This hook should be local in the buffer setup to display widgets.")