3 ms·
> One reason is that it has one of the best cross platform native gui solutions out there. I'm always a bit skeptical of these statements. How does it define "
by SkiFire13 3y ago
> One reason is that it has one of the best cross platform native gui solutions out there.
I'm always a bit skeptical of these statements. How does it define "native"? Does it use gtk/libadwaita on Gnome and Qt on KDE? What about windows, does it use Win32, WPF, WinUI2 or WinUI3, all of which could be considered "native"? What about platform-dependent layouts?
- Bogdanp 3y agoIt's GTK on Linux, win32 on Windows, and Cocoa on macOS.
- kazinator 3y agoHow one defines "native GUI" is very simple: it uses the native widgets of the desktop OS, rather than custom-painting its own onto a pixel-level canvas. Buttons, input fields, lists/combos, context menus, the file picker dialog, what have you, are from the host system.
- bananapub 3y agoit's not that simple on windows, at least: https://raphlinus.github.io/rust/gui/2022/07/15/next-dozen-guis.html#a-small-rant-about-native https://raphlinus.github.io/rust/gui/2022/07/15/next-dozen-g...