Use of the mouse scroll wheel to change frequencies

I have been using gpredict 2.3.37 on Widows 10 successfully with an IC-9700, It all works very well. The issue is the use of the mouse scroll wheel on the “rig control frequency widget” does not work, the tool tip mentions “Use mouse buttons or wheel to change”.

Investigating the issue, I could see the code was not responding to mouse wheel events, also all the code required to deal with the events was in the source code of gtk-freq-knob.c

Enabling the scroll wheel mask with the line gtk_widget_add_events(knob->[i], GDK_SCROLL_MASK), at line 361 fixed the issue.

I have found using the wheel instead of the buttons to spot my down link signal as well as tuning other stations that are off frequency, faster and more convenient than the buttons.

I am not sure if this effect is particular to windows builds, as I have not tested on a Linux machine.

I used msys64 on Windows 10 to build and tested 32 bit and 64 bit versions, I have not found any problems.

Paul VK3YGO