Thank you for the python code. This works unlike g-golf in Guix. guix shell python python-pygobject gtk --no-grafts -- python3 /tmp/drawing-widget.py
and guix shell python python-pygobject gtk -- python3 /tmp/drawing-widget.py both show a window divided in four nicely-colored rectangles. I am puzzled by g-golf’s random code clobbering in Guix; gdb watch in reverse debugging did not work when the scope of klass->snapshot was left. Since I do not speak nor like mutation-heavy python but hope to use g-golf, I will set up a Debian VM for now and look at each g-golf file slowly step by step. Before, I have tried to verify the signature, but it fails florian@florianhp /tmp$ mv pgp0oQiDuzpTz.pgp drawing-widget.pgp florian@florianhp /tmp$ gpg --verify drawing-widget.sig drawing-widget.py gpg: Signature made Tue 07 May 2024 03:39:03 AM CEST gpg: using RSA key 842265459B413377EEAC91DEF374FD93A3057AD7 gpg: BAD signature from "David Pirotte <da...@altosw.be>" [unknown] and I also cannot compare with signatures in the g-golf repo, because the commits in the g-golf repo are not gpg-signed. It would be better to sign commits, I guess. Regards, Florian