From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: Binding a command to the down-event of a toolbar button Date: Thu, 30 Mar 2006 11:56:50 +0200 Message-ID: <7dbe73ed0603300156k46cae26dhe01f5ddf3309a3a3@mail.gmail.com> References: <87slp5lrx2.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1143712636 31448 80.91.229.2 (30 Mar 2006 09:57:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Mar 2006 09:57:16 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 30 11:57:13 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOttv-0003oz-Bi for ged-emacs-devel@m.gmane.org; Thu, 30 Mar 2006 11:57:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOttu-0003ip-SB for ged-emacs-devel@m.gmane.org; Thu, 30 Mar 2006 04:57:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOttd-0003ik-Vv for emacs-devel@gnu.org; Thu, 30 Mar 2006 04:56:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOttc-0003iN-BI for emacs-devel@gnu.org; Thu, 30 Mar 2006 04:56:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOttc-0003iK-60 for emacs-devel@gnu.org; Thu, 30 Mar 2006 04:56:52 -0500 Original-Received: from [64.233.162.202] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOtvk-0006JP-TD for emacs-devel@gnu.org; Thu, 30 Mar 2006 04:59:05 -0500 Original-Received: by zproxy.gmail.com with SMTP id j2so366654nzf for ; Thu, 30 Mar 2006 01:56:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BYaKXQqcKSSlEbWOmFDLKE3U5wNYFckv1pgt0QzcY1yYbfzK0yPmljO8yQzoF/OtBwiDOKHiw1iaYNOVNgomi+msgyYH3xyUlWjGukrT5bj84Llf7vw6idoD9B4RPBOywBPLO1+mbSta35Qr04zwJxfAzp4GU0sFbRM36BRWFWI= Original-Received: by 10.36.43.13 with SMTP id q13mr2131075nzq; Thu, 30 Mar 2006 01:56:50 -0800 (PST) Original-Received: by 10.37.13.10 with HTTP; Thu, 30 Mar 2006 01:56:50 -0800 (PST) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52221 Archived-At: > I'm trying to add tool-bar buttons for "fast forward" and "rewind" in = my > MPC.el package, and the way I expected it would work is that > down-mouse-1 on > those buttons would start the ffwd/rewind and the up event would stop = it. > > Is such behavior normal in tool bars in other user interfaces? > If not, I think we should not do it. I have never seen such a functionality in a *tool-bar*. But buttons like these are common in "media players" of all kinds, where the buttons are often part of some "cool" or "groovy" GUI. I would not expect a tool-bar button to do that, but that's just me.