From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Customize interface: The use of "boxed" buttons Date: 08 Jun 2004 10:09:58 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086682205 23995 80.91.224.253 (8 Jun 2004 08:10:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2004 08:10:05 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Per Abrahamsen Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 08 10:09:58 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXbgE-0002FY-00 for ; Tue, 08 Jun 2004 10:09:58 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXbgD-0001Wy-00 for ; Tue, 08 Jun 2004 10:09:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXbgn-0007s8-Nd for emacs-devel@quimby.gnus.org; Tue, 08 Jun 2004 04:10:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXbgk-0007ro-RF for emacs-devel@gnu.org; Tue, 08 Jun 2004 04:10:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXbgj-0007qz-RD for emacs-devel@gnu.org; Tue, 08 Jun 2004 04:10:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXbgj-0007qb-KI for emacs-devel@gnu.org; Tue, 08 Jun 2004 04:10:29 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BXbg2-0004gv-QM for emacs-devel@gnu.org; Tue, 08 Jun 2004 04:09:47 -0400 Original-Received: (qmail 52400 invoked from network); 8 Jun 2004 08:09:44 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 8 Jun 2004 08:09:44 -0000 Original-To: David Kastrup In-Reply-To: Original-Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24700 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24700 David Kastrup writes: > storm@cua.dk (Kim F. Storm) writes: > > > storm@cua.dk (Kim F. Storm) writes: > > > > > > A change in mouse cursor type when the mouse is over a button is more > > > > common in other application. > > > > > > > > Emacs has no facility for that, but it might not be too hard to add one > > > > by modifying the code that now does mouse highlighting. > > > > > > Emacs HAS the facility to do that -- using a pointer property. > > > Try the following patch: > > > > Actually, the following patch works better, as it also changes > > the pointer shape over images (like checkboxes): > > I don't think that the pointer shape should be changed over images > without any indication that it has some special behavior. Not every > image is something special to click on. The change is made in widget-specify-button -- I thought it was used for buttons only, and then it seems sensible to treat text and image buttons alike (supposing that all buttons have some "special" behaviour). > > Indicators might be mouse-face, a keymap of its own, a mouse-over property. Indicators of what? -- Kim F. Storm http://www.cua.dk