[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrollbar thumbs

From: Jan D.
Subject: Re: Scrollbar thumbs
Date: Thu, 05 Nov 2009 10:21:13 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090915 Thunderbird/3.0b4

On 2009-11-03 11:02, address@hidden wrote:
Stefan Monnier<address@hidden>  writes:

I guess it is just that these GUI toolkit people usually are trained to
deliver good looking and pixel-precise artwork and in consequence might have
some difficulties to imagine how it can be "pretty much impossibe" for some
editor to know how many lines it is actually displaying (or anyway that such
editor would still want to use their scrollbars).

No, sadly, it is really due to dogma: your above explanation would make
perfect sense, but in practice, even after showing them our problem,
they still insist that it would be wrong for them to remove the chunks
of code that enforce the "scrollbar metaphor" by preventing the client
from getting the events that indicate that the user wants to move the
thumb's bottom further down than the scrollbar's own bottom.


I dont use scrollbars, so I dont really know, but would it be possible
to subclass the gtk scrollbars to achive our desired behaviour?

I looked at it once, but no. You can't override the basic event handling in scrollbars, so you still won't get any events when the thumb hit the bottom.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]