Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
- Subject: Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
- From: Jeremy Huddleston <email@hidden>
- Date: Mon, 20 Apr 2009 17:59:45 -0700
This is really beyond XQuartz. That's an issue with libXt in
general. Horizontal scrolling works fine with gtk2 and qt{3,4} ...
I'd say file a bug at http://bugs.freedesktop.org
On Apr 18, 2009, at 11:59, Richard L. Hamilton wrote:
I see using xev that button 6 and 7 events are generated for
horizontal scroll.
But I can't name e.g. Btn6up Btn6down Btn7up Btn7down in resources
to use
them as horizontal scroll bar accelerators.
A google for
libXt btn7up OR btn7down
shows that people have patched libXt before to support that sort of
thing,
within limits; one of the results said:
>Here's a revised patch that only touches libXt-0.1.5. Because the
X11 protocol >doesn't have event masks for those buttons, we can't
use the buttons in drag >events. What we *can* do is bind actions to
up and down events on them.
Still, that's good enough to use it to manipulate a horizontal
scroll bar; and since scroll wheel steps map to button up/button
down pairs (clicks, if you will), with the usual button mapping,
using those for dragging would be impossible anyway, I think. So I
don't suppose there's much down side.
(I use knews* Usenet reader 'cause I'm faster with it than with
anything else. It has its own Xt based widget set, and a couple of
horizontal and vertical scroll bars. I can define accelerators
using "buttons" 4 and 5, but not 6 and 7. It seems pretty clear
that's a limit of libXt, not knews or its widgets.)
* The original URL isn't valid anymore, so finding source is a
little tricky.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden