Next: , Previous: Customizing, Up: Customizing

6.1 Frames and Faces

There are several faces speedbar generates to provide a consistent color scheme across display types. You can customize these faces using your favorite method. They are:

speedbar-button-face
Face used on expand/contract buttons.
speedbar-file-face
Face used on Files. Should also be used on non-directory like nodes.
speedbar-directory-face
Face used for directories, or nodes which consist of groups of other nodes.
speedbar-tag-face
Face used for tags in a file, or for leaf items.
speedbar-selected-face
Face used to highlight the selected item. This would be the current file being edited.
speedbar-highlight-face
Face used when the mouse passes over a button.

You can also customize speedbar's initial frame parameters. How this is accomplished is dependent on your platform being Emacs or XEmacs.

In Emacs, change the alist speedbar-frame-parameters. This variable is used to set up initial details. Height is also automatically added when speedbar is created, though you can override it.

In XEmacs, change the plist speedbar-frame-plist. This is the XEmacs way of doing the same thing.