all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gerd.moellmann@t-online.de (Gerd Moellmann)
Cc: emacs-devel@gnu.org
Subject: Re: scroll-bar-toolkit-scroll
Date: 29 Jul 2002 12:51:26 +0200	[thread overview]
Message-ID: <863cu2kdsh.fsf@gerd.free-bsd.org> (raw)
In-Reply-To: <200207290112.g6T1Cvb12938@aztec.santafe.edu>

Richard Stallman <rms@gnu.org> writes:

> scroll-bar-toolkit-scroll has no doc string; it needs one.  More
> importantly, I am concerned about what it does.  It is not
> compatible with the non-toolkit scroll commands.  What model
> was it designed to be compatible with?

None.

> I also wonder if it is being triggered at the proper time.
> Is it supposed to let you drag the handle?  To do that properly,
> it has to be activated on the down event, but that does not seem
> to be the case.  I can't really understand the comment in keyboard.c
> around line 5188; maybe it says that Emacs does not get a down event,
> or maybe only that Emacs can't distinguish down from up.  Which is it?

Scroll bar widgets work different from Emacs' scroll bars.  One
registers a callback function with the widget that is invoked when
actions happen on the scroll bar, for instance when the scroll bar
handle is dragged, when a scroll bar arrow is clicked etc.  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.

  reply	other threads:[~2002-07-29 10:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-29  1:12 scroll-bar-toolkit-scroll Richard Stallman
2002-07-29 10:51 ` Gerd Moellmann [this message]
2002-07-30  0:59   ` scroll-bar-toolkit-scroll Richard Stallman
2002-07-30  9:12     ` scroll-bar-toolkit-scroll Gerd Moellmann
2002-07-31  5:54       ` scroll-bar-toolkit-scroll Richard Stallman
2002-07-31 11:58         ` scroll-bar-toolkit-scroll Gerd Moellmann
2002-08-01 16:51           ` scroll-bar-toolkit-scroll Richard Stallman
2002-08-02 10:19             ` scroll-bar-toolkit-scroll Gerd Moellmann
2002-08-09  7:07             ` scroll-bar-toolkit-scroll Stefan Monnier
2002-08-09  7:12           ` scroll-bar-toolkit-scroll Stefan Monnier
2002-08-12 17:07             ` scroll-bar-toolkit-scroll Richard Stallman
2002-08-12 17:14               ` scroll-bar-toolkit-scroll Stefan Monnier
2002-08-13 22:46                 ` scroll-bar-toolkit-scroll Richard Stallman
2002-08-14 22:25                   ` scroll-bar-toolkit-scroll Stefan Monnier
2002-08-15 19:54                     ` scroll-bar-toolkit-scroll Richard Stallman
2002-08-16 16:10                       ` scroll-bar-toolkit-scroll Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=863cu2kdsh.fsf@gerd.free-bsd.org \
    --to=gerd.moellmann@t-online.de \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.