Mouse Wheel method

I imagine there is no MouseWheel() scroll-method because physical buttons
and keys have on/off state. The button methods just return the state of the
physical switch/button. The mouse wheel, when you scroll it, likely has a
vector signal, meaning scroll away or scroll towards, but is not tied to a
"state" that can be looked at. There is likely no mouse wheel state of
"scrolling away" or "scrolling" towards" or "not scrolling". My mouse wheel
has an additional feature of it being "clickable". but that is seen as just
another mouse button. So basically mouse wheels only generate signals and
buttons have state and change state (which generate signals) and have state
(open circuit or closed circuit).

Perhaps you can also think "what electronic event is generated when the
mouse wheel is not in motion?" A button is in the UP state or open state
but a wheel does not work that way.

Not sure this will solve your problem, but …

I’m using the Python Curses library to emulate wxPython on text-mode terminals such as vt100 and xterm.

A recent announcement (Announcing ncurses 6.0 - GNU Project - Free Software …) caught my attention.

The new release has been re-designed to maintain backward ncurses 5.9 compatibility on 32-bit computer and to introduce new capabilities on 64-bit computers.

On 64-bit platforms it will, for the first time, support the wheel mouse and more than the 16 colors available on 32-bit platforms.

Someone familiar with wxWidgets internals might be able to adapt the wheel mouse technology for wxWidgets and make it available in wxPython.

Dick Gordon

···

I imagine there is no MouseWheel() scroll-method because physical buttons and keys have on/off state. The button methods just return the state of the physical switch/button. The mouse wheel, when you scroll it, likely has a vector signal, meaning scroll away or scroll towards, but is not tied to a “state” that can be looked at. There is likely no mouse wheel state of “scrolling away” or “scrolling” towards" or “not scrolling”. My mouse wheel has an additional feature of it being “clickable”. but that is seen as just another mouse button. So basically mouse wheels only generate signals and buttons have state and change state (which generate signals) and have state (open circuit or closed circuit).

Perhaps you can also think “what electronic event is generated when the mouse wheel is not in motion?” A button is in the UP state or open state but a wheel does not work that way.

Hi Gordon. My post was suppose to be a reply to topic “MouseWheel method in wxPython?”
Seems my reply created a new topic instead.