I want to make GUI for my application. It should work on multiple platforms. I want most of the code to be portable for all the OS (unix, windows, MAC).
GTK and GLib looks as a good solution. I want to use native APIs too
How to do this all??
Flutter: The First Choice for Cross-Platform GUI Development.
August 4, 2022. A cross-platform GUI is a great tool for designing apps and software that can run seamlessly on: Android, iOS, macOS, Windows, and Linux. So why create apps for different platforms when you can make one for all in less effort and expense?
A GUI framework like Qt generally works by taking the existing OS's primitive objects (windows, fonts, bitmaps, etc), wrapping them in more platform-neutral and less clunky classes/structures/handles, and giving you the functionality you'll need to manipulate them.
wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base.
Qt may be good for that.
I like WxWidgets, really easy to use. It has bindings for multiple languages and you can mix it's C++ implementation with Win32 API (C code) easily.
http://www.wxwidgets.org/
A more lightweight alternative is FLTK
http://www.fltk.org/index.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With