[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding a command to the down-event of a toolbar button
From: |
Stefan Monnier |
Subject: |
Re: Binding a command to the down-event of a toolbar button |
Date: |
Fri, 31 Mar 2006 09:34:20 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> I think my request for down-events on the tool-bar is related to some other
>> people's requests to be able to bind different actions for mouse-1, mouse-2,
>> mouse-3.
> Another interface I have seen that having a down-event would enable is to
> execute a common action on normal clicking of the button, but if the mouse
> button is held down for around 1 - 2 seconds, then a menu appears with less
> common related actions.
Actually, I've only seen such behavior on Mac OS X where they have to deal
with 1-button mouses (and where this context menu is also available (without
delay) on mouse-3, if you have a 3-button mouse, or IIRC also with
C-mouse-1).
This said, a more pressing issue is the fact that clicked are dropped on the
floor if they happen just during redisplay. This is *very* annoying if your
display includes a seconds-precise timer or worse. It make it difficult in
MPC.el to stop the fast-forward (or rewind) since they cause constant
redisplay (since the seconds-precise counter counts then even faster
than 1s/s).
Stefan
- Re: Binding a command to the down-event of a toolbar button, (continued)
- Re: Binding a command to the down-event of a toolbar button, Jason Rumney, 2006/03/31
- Re: Binding a command to the down-event of a toolbar button, David Kastrup, 2006/03/31
- Re: Binding a command to the down-event of a toolbar button,
Stefan Monnier <=
- Re: Binding a command to the down-event of a toolbar button, Richard Stallman, 2006/03/31
- Re: Binding a command to the down-event of a toolbar button, Kevin Rodgers, 2006/03/31
- Re: Binding a command to the down-event of a toolbar button, Robert J. Chassell, 2006/03/31
- Re: Binding a command to the down-event of a toolbar button, Stefan Monnier, 2006/03/31