Making a GTK application in Haskell, part 1

This is the first part of a tutorial series guiding intermediate Haskellers through building a to-do list application using Haskell, GTK 4, and the Adwaita library. It introduces the basic structure of a GTK 4 / Adwaita application, focusing on resource management and responsive design features provided by Adwaita.
Why it matters
This tutorial provides valuable educational content for developers interested in GUI programming with Haskell, showcasing modern UI libraries and their integration. It helps foster skill development in a niche programming area and contributes to the open-source community by demonstrating practical application development.
Tutorial haskell gtk Feriel Choutri de Tarlé
In this series, we are going to build a todo-list application using Haskell, GTK 4, and the Adwaita library. Adwaita will provide us with many useful widgets and styles. Let's dive in!
This series' intended audience is intermediate Haskellers, with development experience with the language.
Adwaita is a library of GTK components that serve as the design language of the GNOME project. In short: Every decision that the GNOME project has made in terms of accessibility and style (the Human Interface Guidelines, HIG) is encoded in libadwaita.
Libawaita gives you many features: for instance it lets you create applications with responsive design, which are recolored at runtime when the desktop switches between light and dark themes.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in