help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tool bar: How to get _no_ tooltip?


From: Ralf Angeli
Subject: Re: tool bar: How to get _no_ tooltip?
Date: Sat, 21 Jan 2006 18:04:32 +0100

* Reiner Steib (2006-01-21) writes:

> M-: (tool-bar-local-item "exit" nil nil tool-bar-map) RET
> adds a new icon to the tool bar.  When moving the mouse over the icon,
> a tooltip with the text "nil" is displayed.

That looks like a bug.

> With `M-: (tool-bar-local-item "exit" nil nil tool-bar-map :help "")
> RET', I get very small tooltip with no text.
>
> How to disable the tooltip completely?  (The icon I want to use is a
> separator icon without any associated command.)

The separator should not be clickable anyway, so how about the
following?  (That's how Miguel did it in AUCTeX.)

(tool-bar-local-item "exit" nil nil tool-bar-map :enable nil)

Disadvantage is that the image will become shaded.

-- 
Ralf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]