[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scroll-bar-toolkit-scroll
From: |
Richard Stallman |
Subject: |
Re: scroll-bar-toolkit-scroll |
Date: |
Thu, 1 Aug 2002 10:51:49 -0600 (MDT) |
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.
- Re: scroll-bar-toolkit-scroll,
Richard Stallman <=
- Re: scroll-bar-toolkit-scroll, Stefan Monnier, 2002/08/09
- Re: scroll-bar-toolkit-scroll, Richard Stallman, 2002/08/12
- Re: scroll-bar-toolkit-scroll, Stefan Monnier, 2002/08/12
- Re: scroll-bar-toolkit-scroll, Richard Stallman, 2002/08/13
- Re: scroll-bar-toolkit-scroll, Stefan Monnier, 2002/08/14
- Re: scroll-bar-toolkit-scroll, Richard Stallman, 2002/08/15
- Re: scroll-bar-toolkit-scroll, Stefan Monnier, 2002/08/16