all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: scroll-bar-toolkit-scroll
Date: Thu, 1 Aug 2002 10:51:49 -0600 (MDT)	[thread overview]
Message-ID: <200208011651.g71GpnT18694@aztec.santafe.edu> (raw)
In-Reply-To: <86d6t4glcx.fsf@gerd.free-bsd.org> (gerd.moellmann@t-online.de)

    As I read the man page, XmCR_DRAG is received while the user is
    dragging the slider for "each incremental change of position", so it
    would be neither up nor down event.

Stefan, is that correct?  It sounds like the event produced by
XmCR_DRAG ought to scroll the buffer based on the new position and
redisplay--is that right?

    I've used x_send_scroll_bar_event to "translate" the invocation of the
    scroll bar callback to an X event that is handled in XTread_socket
    like other events.  This seemed to be the easiest way to orderly
    produce a scroll bar input event in the kdb queue because I saw no way
    to predict when the callback is called (asynchronously).

Why not just insert the desired event into the Emacs event queue?
That can be done at any time, asynchronously.

  reply	other threads:[~2002-08-01 16: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 ` scroll-bar-toolkit-scroll Gerd Moellmann
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           ` Richard Stallman [this message]
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=200208011651.g71GpnT18694@aztec.santafe.edu \
    --to=rms@gnu.org \
    --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.