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

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

tool bar: How to get _no_ tooltip?


From: Reiner Steib
Subject: tool bar: How to get _no_ tooltip?
Date: Sat, 21 Jan 2006 17:23:53 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Hi,

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.

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 code above is for Emacs 22.  In Emacs 21 you need to use
(tool-bar-add-item "exit" nil nil) and (tool-bar-add-item "exit" nil
nil :help "").

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/





reply via email to

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