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: Sun, 22 Jan 2006 12:31:22 +0100

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

> On Sat, Jan 21 2006, Ralf Angeli wrote:
>
>> (tool-bar-local-item "exit" nil nil tool-bar-map :enable nil)
>> Disadvantage is that the image will become shaded.
>
> That's good enough for me: I only want to separate standard icons
> (undo, cut, paste, ...) from message mode specific buttons in Gnus'
> message-mode.  I only used exit.xpm in my example on the list because
> it comes with Emacs; for the real code I use AUCTeX' sep.xpm.

Using a disabled button still is a workaround.  Most of the toolkits
supporting tool bars will likely have native separators.  GTK+
e.g. has `GtkSeparatorToolItem', see
<URL:http://developer.gnome.org/doc/API/2.0/gtk/GtkSeparatorToolItem.html>.
It would be nice to have access to those from Emacs Lisp when building
a tool bar.

-- 
Ralf


reply via email to

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