Re: Could we have mouse-wheel support before the feature freeze ?
- From: Guillaume Laurent <glaurent worldnet fr>
- To: gtk-devel-list redhat com
- cc: Nick Lopez <kimo_sabe atdot org>
- Subject: Re: Could we have mouse-wheel support before the feature freeze ?
- Date: 13 Dec 1998 02:41:44 +0100
Owen Taylor <otaylor@redhat.com> writes:
> One reason I was a bit hesitant to add the previous patches, is
> because they seemed a bit like hacks,
Well, at least mine was :-). The other one was from Nick Lopez and he
did a much cleaner job.
> - If the mouse is over a scrollbar (horizontal as well
> as vertical?) scroll that.
Yes, scrolling a horizontal scrollbar is rather unusual but a nice
thing to have.
> - Otherwise, if the mouse is anywhere inside a scrollable
> widget, scroll that, by some distance determined
> by the adjustment. (Is adjustment->page_increment
> too much. Is adjustment->step_increment too little?
> How about the geometric mean?
> (sqrt(page*step), not sure if I'm joking about that)
No real idea there. I suppose it should be customizable.
> That would be easy if GTK+ had a widget-level
> XTranslateCoordinates equivalent. If someone wants to
> work on the above, I can whip that up in a few minutes
> from code I wrote in gtkdnd.c.
I'd love to but I currently lack time. Nick, would you like to do it ?
Otherwise, I guess I still can try.
--
Guillaume.
http://www.worldnet.fr/~glaurent
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]