emacs-devel
[Top][All Lists]
Advanced

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

tool bar: C-... and S-... fail in GTK builds (was: tool bar: mouse-2, mo


From: Reiner Steib
Subject: tool bar: C-... and S-... fail in GTK builds (was: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?)
Date: Thu, 09 Feb 2006 22:22:43 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Wed, Feb 08 2006, Juri Linkov wrote:

>>>> Is it possible to bind C-mouse-1 or S-mouse-1 to some other command
>>>> (not the command bound to mouse-1)?  Is it possible to bind mouse-2 or
>>>> mouse-3?
>>
>> Is it already possible or not?  Anyone?
>
> (info "(elisp)Tool Bar") describes how to add modifiers to the fake
> function keys in the tool bar, but really the following sample code
> has no effect:
>
>   (define-key tool-bar-map [S-help] 'info)

Did you try with a GTK build?  It fails with GTK for me, but it works
with an X toolkit build:

In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-01-24 on bridgekeeper
X server distributor `The X.Org Foundation', version 11.0.60801000
configured using `configure '--with-x-toolkit=yes''

(define-key tool-bar-map [C-dired] 'info)  ;; works
(define-key tool-bar-map [S-dired] 'man)   ;; works
(define-key tool-bar-map [C-help] 'info)   ;; works 
(define-key tool-bar-map [S-help] 'man)    ;; works

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]