this post was submitted on 30 Aug 2023
199 points (98.1% liked)
Programming
17511 readers
478 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@wth @Spyros We need one universal graphical tool kit that works everywhere!
GTK: Hi, I heard you're looking fo—
Me: NOT YOU
How about Qt
@LaggyKar I've never used it
Every desktop app that's available on multiple platforms is basically written in it.
Electron:
@JackbyDev oh damn wish I'd thought of that
Electron never forgot you :(
GTFO Electron, I hate you :P
ROFL.
True on desktop OSs. I did quite a bit of commercial dev on GTK many years ago, but I always found the look and feel on Mac (esp) and windows quite klunky. I hear that quite a bit of work has been done on native theming, so perhaps my impressions are out of date. Having said that - GTK wasn’t bad to work with. I also did a project in WxWidgets, but again desktop only. It was not too bad for simple apps.
For the current app - first release target was iOS, then Mac, Android, Windows then Linux. So GTK was out since its not mobile friendly (I have heard you can do something on Android, but iOS is out).
@wth I have worked with GTK3 myself, and once I got used to its quirks, actually found it quite nice to work with. I was writing my code in Python too, which added some extra challenge, but the GObject introspection took a lot of the pain out of interoperating with what's basically a C library.
However, I'm aware that GTK has a bit of a reputation. The look and feel is great on Linux desktops that use it natively, but I do remember it looking pretty ugly cross-platform.
(tagging @programming for Mastodon→Lemmy federation – ignore this comment)
GTK has improved a lot, but native theming isn’t the area. It has very powerful theming but I don’t think a macOS theme exists.
Thanks. I’m very out of date with it.