----- Original Message ----- From: "Danny Backx" <[EMAIL PROTECTED]>
To: "Dave Williss" <[EMAIL PROTECTED]>
Cc: "LessTif Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 5:06 PM
Subject: Re: [Lesstif-discuss] Scroll wheel support



On Tue, 2004-10-19 at 15:53, Dave Williss wrote:
>> It seems that each click of the mouse wheel scrolls by a whole "page".
>> Any way to adjust that to something smaller?
>
[snip]
The latter point is rather obvious, looking at the translations
I put in for XmScrolledWindow :
   "\n<Btn4Down>:              SWUpPage()"
   "\n<Btn5Down>:              SWDownPage()"

The trouble is that XmScrolledWindow doesn't define actions to scroll
down half a page.

Does anyone have bright ideas about this ?

Maybe modify SWUpPage and SWDownPage to check the num_params so you can pass an optional parameter. Then you can do...

   "\n<Btn4Down>:              SWUpPage(0.5)"
   "\n<Btn5Down>:              SWDownPage(0.5)"

or even smaller.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

Reply via email to