I’m using the standard Pi OS (Raspbian as was IIRC). Debugging remotely.
The Window.Resizing event appears not to fire. This may not be quite so odd since windows don’t in any case appear to resize live at all. Can anyone confirm this? The Window.Resized event does fire and can be used.
Target. How do I detect that I’m running on a Pi. ARM by itself is no good, and neither is Linux. I could say TargetARM and TargetLinux, but then I’d get a hit even if the Pi is running Mint (which I suppose it could). What are people doing for this?
You piqued my curiosity. “uname -a” might also be useful. I’m not certain, though, whether it will fulfill your apparent aim, of detecting Pi hardware even when running Ubuntu or something. But it looks as if it might.
Thanks for all the suggestions. It would be the OS rather than the hardware, since that’s what I have to code for. If it were runnning Linux, then presumably it will run a linux build of any app.
Hmmm, OK, I guess it is running Linux but then why isn’t it doing live window-resizing?
Mmmm, unclear. Raspbian windows don’t appear to resize properly until you stop dragging and release the mouse. So you’d get one resizing event rather than a contnuous stream. Hmmm again, that’d still be useful.
Seems likely, based on some messages I’ve seen on other forums. But then the app must be being notified at the end of the resize, since the Resized event fires, once for each resizing. As that is the case, I can’t see a reason why the resizing event can’t be fired once too.