From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Binding a command to the down-event of a toolbar button
Date: Fri, 31 Mar 2006 22:59:24 -0500 [thread overview]
Message-ID: <87wteakl1n.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e0kj3v$h5i$1@sea.gmane.org> (Kevin Rodgers's message of "Fri, 31 Mar 2006 17:55:46 -0700")
> If they were in the buffer itself, then they wouldn't depend on which
> buffer was selected -- they would always be displayed, so the user could
> always click on them, even while working in another buffer. The tool
> bar changes according to which buffer is selected, just like the menu
> bar changes, because they are defined as keymaps.
That's true, but if you check my snapshot (at
http://www.iro.umontreal.ca/~monnier/elisp/mpc.png), you'll see that my
MPC.el uses several buffers in several windows and the toolbar is a very
natural location to put those player buttons. I could create
yet-another-buffer and recreate a sort of toolbar manually in it (playing
with display, face, mouse-face, and keymap properties). It would allow me
to solve my problem with the down-event thingy, but it'd be a lot more work,
since I'd have to reinvent the wheel one more time.
> If the buffer happened to display a long playlist, the header line would
> be a good place to put the control buttons.
The header lines are already used for other things,
Stefan
next prev parent reply other threads:[~2006-04-01 3:59 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 5:10 Binding a command to the down-event of a toolbar button Stefan Monnier
2006-03-28 19:33 ` Richard Stallman
2006-03-30 9:56 ` Mathias Dahl
2006-03-30 22:39 ` Stefan Monnier
2006-03-30 23:03 ` Drew Adams
2006-03-31 7:58 ` Eli Zaretskii
2006-03-31 20:20 ` Richard Stallman
2006-04-01 11:43 ` Eli Zaretskii
2006-03-31 17:28 ` Richard Stallman
2006-03-31 18:35 ` Drew Adams
2006-04-01 11:45 ` Eli Zaretskii
2006-04-01 16:21 ` Drew Adams
2006-04-02 20:38 ` Richard Stallman
2006-04-01 13:46 ` Richard Stallman
2006-04-01 3:12 ` M Jared Finder
2006-04-01 20:28 ` Richard Stallman
2006-04-01 20:58 ` M Jared Finder
2006-04-03 1:09 ` Richard Stallman
2006-04-03 4:14 ` M Jared Finder
2006-04-03 18:24 ` Richard Stallman
2006-04-04 2:13 ` M Jared Finder
2006-04-04 19:57 ` Richard Stallman
2006-04-05 6:04 ` M Jared Finder
2006-04-05 19:06 ` Richard Stallman
2006-04-06 5:40 ` M Jared Finder
2006-04-06 15:37 ` Richard Stallman
2006-03-31 10:18 ` Jason Rumney
2006-03-31 11:01 ` David Kastrup
2006-03-31 14:34 ` Stefan Monnier
2006-04-01 13:45 ` Richard Stallman
2006-04-01 16:27 ` Stefan Monnier
2006-04-01 13:45 ` Richard Stallman
2006-04-01 19:01 ` Jason Rumney
2006-04-02 20:38 ` Richard Stallman
2006-04-02 21:29 ` Jason Rumney
2006-04-03 3:24 ` Richard Stallman
2006-03-31 17:28 ` Richard Stallman
2006-04-01 0:55 ` Kevin Rodgers
2006-04-01 1:12 ` Robert J. Chassell
2006-04-01 3:59 ` Stefan Monnier [this message]
2006-04-01 20:28 ` Richard Stallman
2006-04-03 2:01 ` Stefan Monnier
2006-04-03 13:51 ` Richard Stallman
2006-04-03 18:24 ` Richard Stallman
2006-04-01 20:28 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wteakl1n.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).