Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
need libXt support for buttons 6 and 7 (horizontal scroll wheel)
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
need libXt support for buttons 6 and 7 (horizontal scroll wheel)
Subject
:
need libXt support for buttons 6 and 7 (horizontal scroll wheel)
From: "Richard L. Hamilton" <
email@hidden
>
Date: Sat, 18 Apr 2009 14:59:26 -0400
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
Follow-Ups
:
Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
From:
Jeremy Huddleston <email@hidden>
Prev by Date:
Re: Serious regression with window focus in 2.3.3_rc5
Next by Date:
Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
Previous by thread:
Re: Multiple XQuartz Instances
Next by thread:
Re: need libXt support for buttons 6 and 7 (horizontal scroll wheel)
Index(es):
Date
Thread