Making a GTK application in Haskell, part 1 (floreal.tech)
Koshkin 2 hours ago
black_knight 41 minutes ago
Vosporos 10 minutes ago
seba_dos1 6 hours ago
nh2 5 hours ago
grimgrin 4 hours ago
click it for a better time
shevy-java 3 hours ago
I started to learn it back then via ruby-gtk2. It was not the best experience but I learned several key things pertaining to widgets and the UI. Then came gtk3; it was in some ways worse than GTK2, but it also brought a few improvements such as the partial CSS support. I always miss that when I use e. g. wxwidget.
Then came GTK4 though and things changed. Tons of old things broke or no longer worked. Simple things such as main_window_widget.move(0, 0) for top-left positioning (I added an alias to this, .top_left in ruby and that worked nicely); there are work-arounds to get the old behaviour, but this is just one example of so many more things that were eliminated. GTK4 is a GNOMEy-toolkit and GTK5 will be even worse since it will be wayland-only.
"Interacting" with the GNOMEy-GTK devs is a total waste of time and I am hardly the only one who had that experience. For GNOMEys it may be a useful platform, but GTK no longer is a general toolkit really, despite claims by the current GTK devs otherwise. Why would we non-GNOMEys want to keep GTK on life support? There really needs to be a toolkit that can work in a much more de-centralized way. Sadly I also don't have a good idea here, since funding is an issue and GUIs seem to have taken a huge hit ever since the world wide web became dominating.
GalaxyNova 2 hours ago
gen2brain 2 hours ago
GTK4 changed a lot though, like they do not even try anymore, deprecated font dialog because that is better done with XDG portals, but such thing does not even exist. How will that work on macOS and Windows, it cannot? Or what they did with the menus. Toolkits should be user oriented and should not have vision, it just needs to work and provide controls, events, etc., you cannot even position windows in macOS and Windows with GTK4, that is not toolkit that works for users.
I am working on the IUP fork here https://github.com/gen2brain/iup-go , one toolkit to handle them all, and I did my best for GTK4 backend, but from 14 drivers/backends I worked on, it was the worst experience and I had to fight battles with it.
XorNot 2 hours ago
pluc 4 hours ago
please tell me that's a typo
tensegrist 4 hours ago
pluc 4 hours ago
birchcove 6 hours ago
freedomben 3 hours ago
beanjuiceII 5 hours ago
drnick1 5 hours ago
Vosporos 5 hours ago
Ambolia 5 hours ago
klez 4 hours ago
spider-mario 3 hours ago
nimih 3 hours ago
[1] https://www.reddit.com/r/linux/comments/9emwtu/comment/e5qss...
ivanjermakov an hour ago
kccqzy 4 hours ago
black_knight 38 minutes ago
I think it depends on your district. On some distros (looking at you arch!) I think GHCup and keeping things in /home and out of your system package manager is the better approach.
That said, I never had issues with Pandoc on any distribution. But I have struggled with Pandoc extensions, before I got NixOS (and flakes).