Re: [gtk-list] Re: Mouse wheel support for gtk+
- From: Tim Janik <timj gtk org>
- To: Grant Likely <grantlikely home com>
- cc: Gtk+ MList <gtk-list redhat com>
- Subject: Re: [gtk-list] Re: Mouse wheel support for gtk+
- Date: Wed, 27 Jan 1999 09:42:54 +0100 (CET)
On Tue, 26 Jan 1999, Grant Likely wrote:
> I tried out the patch, and it works well. However, using the
> wheel to scroll down will scroll past the end of the page by
> about page_size. When scrolling up, there are no problems.
>
> >From my quick parse of the gtk_adjustment source I think that
> there may be a bug in the way that gtkscrolledwindow is setting
> either the upper or lower value in the gtk_adjustment, it's just
> been hidden up to now. Hope this helps. If I knew more about
> the workings of the scrolled windows, I'd supply a patch, but
> I'm still learning.
>
this is not a bug in the scrolled window code (and if it would,
it would reside in gtkviewport.c), it just happens
that the biggest reasonable value for scroll_adjustment->value
is (scroll_adjustment->upper - scroll_adjustment->page_size).
BTW, please don't send your mails fully embedded in an attchment,
i'm quite tempted to just skip such messages.
> Cheers,
> G.
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]