As a digression to my experiments with GTK4 and Haskell, inspired by a question at the Haskell Community, I looked at list views. A list view brings together a selection model and a list item factory. A selection model adds support for selection to a list model. A list item factory creates widgets for the […]
Haskell, GTK4 and printing
Another part of my experiments with GTK4 and Haskell was to investigate printing. That brought in the Cairo, Pango and PangoCairo C libraries, and the gi-cairo, gi-cairo-render, gi-cairo-connector, gi-pango, and gi-pangocairo Haskell packages. PrintOperation At the heart was to create a value of type PrintOperation, specifying its nPages and unit attributes and its handler of […]