From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: scroll-bar-toolkit-scroll Date: 30 Jul 2002 11:12:12 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <864reh8tqr.fsf@gerd.free-bsd.org> References: <200207290112.g6T1Cvb12938@aztec.santafe.edu> <863cu2kdsh.fsf@gerd.free-bsd.org> <200207300059.g6U0xsw14569@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028020433 27201 127.0.0.1 (30 Jul 2002 09:13:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2002 09:13:53 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17ZT4i-00074c-00 for ; Tue, 30 Jul 2002 11:13:52 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ZTMM-0008Aa-00 for ; Tue, 30 Jul 2002 11:32:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZT56-00089a-00; Tue, 30 Jul 2002 05:14:16 -0400 Original-Received: from mailout04.sul.t-online.com ([194.25.134.18]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZT47-00083o-00; Tue, 30 Jul 2002 05:13:15 -0400 Original-Received: from fwd04.sul.t-online.de by mailout04.sul.t-online.com with smtp id 17ZT44-0005PM-08; Tue, 30 Jul 2002 11:13:12 +0200 Original-Received: from gerd.free-bsd.org (520015515780-0001@[217.85.171.66]) by fwd04.sul.t-online.com with esmtp id 17ZT3u-13wiCeC; Tue, 30 Jul 2002 11:13:02 +0200 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.5/8.12.5) with ESMTP id g6U9D0qu000264; Tue, 30 Jul 2002 11:13:00 +0200 (CEST) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.5/8.12.5/Submit) id g6U9CCBE000261; Tue, 30 Jul 2002 11:12:12 +0200 (CEST) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: rms@gnu.org In-Reply-To: <200207300059.g6U0xsw14569@aztec.santafe.edu> Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-Sender: 520015515780-0001@t-dialin.net Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6172 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6172 Richard Stallman writes: > The widget > does the translation of user actions to scroll bar actions, depending > on its capabilities and specified user translations (I mean the normal > X way of customizing X widgets). The scroll bar actions received by > the callback function are converted to certain "widget events" that > are handled in Lisp. > > Does this include down-events? If so, how does the generated Lispy event > indicate whether it is down or up? IIRC, the scroll bar callback is invoked with action information only, See, for instance, the LessTif/Motif callback xm_scroll_callback in xterm.c. AFAIK, the callback cannot tell which user actions caused the action, i.e. up/down events etc.