all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Not a regression, but shuld go into emacs-24
Date: Tue, 03 Jun 2014 09:47:36 +0200	[thread overview]
Message-ID: <538D7D98.60702@swipnet.se> (raw)
In-Reply-To: <538D77D4.2000407@gmx.at>

martin rudalics skrev 2014-06-03 09:23:
>  >> IIUC in XmCR_DRAG we set PORTION to 'cs->value',
>  >
>  > XmCR_DRAG is jump in Motif speak.
>
> So is "dragging the slider" equivalent to 'jump' in Emacs speak?  Then I
> misunderstood the nomenclature completely.  I always thought a 'jump' is
> what happens when I click some position above or below the slider.
>

It is equivalent in Motif and Gtk+ speak, i.e. the callback can't 
distinguish between the two.  Dragging and jumping are handeled the same.

>  >> and in xaw_scroll_callback we explicitly
>  >> pass 'position' as PORTION argument.
>  >
>  > Because that callback does not distinguish between the different
> scroll modes.
>
> What is a "scroll mode"?  Something like "page increment" or "jump
> scroll"?

Yes, page increment/decrement, and step increment/decrement are modes.
As is drag and jump.

>
>  >>> The values of PORTION in x_send_scroll_bar_event and
>  >>> x_set_toolkit_scroll_bar_thumb are different.  The first has values as
>  >>> defined by the scroll bar.  For Gtk+, Motif and Xaw this is a value
>  >>> between 0 or 1 and 10000000.
>  >>
>  >> Yes (in my experience Gtk+ can handle WHOLE directly as is).
>  >
>  > This looks ugly when WHOLE changes.  The Gtk+ scroll bar does not
> redraw nicely.
>
> In what sense?  Does it flicker?
>

I haven't tried lately, but Gtk+ 2 flickered a lot when its maximum 
value changed.  For example typing at the bottom of a buffer would 
change the value for every key press.

	Jan D.





  reply	other threads:[~2014-06-03  7:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 10:43 Not a regression, but shuld go into emacs-24 Jan Djärv
2014-06-01 12:31 ` martin rudalics
2014-06-01 18:11   ` Jan Djärv
2014-06-02  7:05     ` martin rudalics
2014-06-02 15:50       ` Jan Djärv
2014-06-02 18:02         ` martin rudalics
2014-06-02 18:14           ` martin rudalics
2014-06-03  5:10           ` Jan Djärv
2014-06-03  7:23             ` martin rudalics
2014-06-03  7:47               ` Jan D. [this message]
2014-06-03  9:41                 ` martin rudalics
2014-06-03 10:13                   ` Jan D.
2014-06-03 12:40                     ` martin rudalics
2014-06-01 14:15 ` Stefan Monnier
2014-06-01 18:01   ` Jan Djärv

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=538D7D98.60702@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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.