| ▲ | Making a GTK application in Haskell, part 1(floreal.tech) | ||||||||||||||||||||||
| 78 points by Vosporos 4 hours ago | 11 comments | |||||||||||||||||||||||
| ▲ | pluc 11 minutes ago | parent | next [-] | ||||||||||||||||||||||
> import GI.Awd qualified as Adw please tell me that's a typo | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | seba_dos1 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Replace `backdrop-filter` on `.backdrop::after` with `filter` on `.backdrop picture` for a free scrolling performance boost. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | birchcove 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
i've been writing Haskell GUIs for a few years and mostly stick to react-banana or reflex because wiring up gtk-gi signals manually gets messy fast. The Elm architecture pattern here looks clean on paper but I'm curious how you handle async events from the widget tree without ending up in callback hell. Did you end up wrapping all GI callbacks in a channel that feeds into your update loop? | |||||||||||||||||||||||
| ▲ | beanjuiceII an hour ago | parent | prev | next [-] | ||||||||||||||||||||||
bro takes 2 years to make a todo list | |||||||||||||||||||||||
| ▲ | drnick1 an hour ago | parent | prev [-] | ||||||||||||||||||||||
Just keep in mind that some people like me avoid Haskell and the huge package mess it causes on Linux. Pandoc is infamous for that. Just stick to C++. | |||||||||||||||||||||||
| |||||||||||||||||||||||