It seems this function is missing in MAUI on linux yet :/
To be fair, I think there are almost more GUI frameworks specifically for dotnet on Windows, each of which has been “the standard that everyone should follow” for a year or two, than there are DEs for linux. It’s ridiculous how often Microsoft changes their mind.
Nice idea. I’ve had a look and it appears to be embedded in a lot of Qt code that is hard for me to follow and/or use in dotnet :/