Search code examples
c++cuser-interfacegtkgtk3

GTK+ same UI theme for all platforms


I am starting to write an app which I want to be multiplatform and I am stuck on the part of deciding which UI framework should I use. That's where my question comes from:

Is it possible to have a fixed GTK theme for an application instead of using system active theme? I want my application to look the same across Windows, OS X and Linux instead of trying to look like it's using system native controls.


Solution

  • If you don't mind doing some C++/C# interop, MAUI is an option of writing native cross-platform apps with a unified UI and without recurring to using a WebUI.

    https://learn.microsoft.com/en-us/dotnet/maui/what-is-maui?view=net-maui-7.0