Oddity with touch-driven mouse events

James Stallings II <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <CAOaG_2aZ5P=pYRn0nAY-zrNarZQktAdQJ=a0SSYXO1V+rFopVg@mail.gmail.com>
Greetings, list :)

I've been working on a front-end for an automated vendor, which runs on the
raspberry pi 4 and a 10.5" touchscreen from Eyoyo. All the hardware seems
to perform flawlessly.

The piece of the front end I'm working on provides an opportunity to
capture a signature from the end-user, which is to be made on the
touchscreen.

I've been working from the very excellent 'doodle.py' at
https://wxpython.org/presentations/OSCON2006/examples/doodle.py

I've stripped it down a little (I don't need the menus, and so need only
one brush size and color), and integrated it, and it seems to be trying to
work, but...
...that's not actually the issue, but rather an observation I've made while
troubleshooting my own code:

I added a bit of instrumentation, of the most basic sort; a simple
'print()' method call to display the name of all callable methods in the
script. I've done this to both my code and the doodle code, in the interest
of tracking down the issues in my own code.

What I'm seeing is the event callback method for 'wx.EVT_SIZE' being called
repeatedly.
The problem is, no resizing of the window is taking place.

Either I'm missing something here, or that event should not be firing.

Does anyone have any ideas? This could possibly impinge on the issue I'm
having, as it is not possible to resize the window in question, and so I
have no such bindings or event callback methods in my script.

Does anyone have an idea what's going on? tangential but peripheral
question: does my code need such a callback method stubbed out with a
'pass' statement?

Thanks in advance, and stay safe out there!

Cheers,
James

-- 
ॐ♲ ♥ ☸☮ ☯☰☶☯☮ ☸ ♥ ♲ॐ

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CAOaG_2aZ5P%3DpYRn0nAY-zrNarZQktAdQJ%3Da0SSYXO1V%2BrFopVg%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.