pcb-rnd knowledge pool

 

GTK4 rant: CSS

gtk4r_css by Tibor 'Igor2' Palinkas on 2021-12-23

Tags: insight, gtk4, rant, css

node source

 

 

Abstract: n/a

  This rant is part of a series.

Replacing the theme

Gtk used to have its own theme engine, because users wanted to have dark or light background, large font, etc. Somewhere during gtk3 they switched from this theme engine to css. This first sounds like a good idea: css is a well specified language and is widely used on the web. However, it has many shortcomings.

The next few rants will cover different aspects of how CSS made everything much more complicated and how it introduced conceptual errors that can not be fixed: