GTK4PythonTutorial
GTK4PythonTutorial copied to clipboard
A couple of minor points
Apologies for not providing a patch, but a few points.
- For
rect
s I have to do it differently to make it work. For some reason your method just does not work for me, although it is seemingly the same thing.
Graphene.Rect().init(x1, y1, x2, y2)
- In the
RoundedRect
section you mention that a radius of 360 makes a circle, as this is per one corner a radius of 90 makes for a circle. - See https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/196 for the
Gdk.RGBA
override being restored for GDK4. This allows forGdk.RGBA(r, g, b, a)
to work again. Also, for some more of these newer types overrides need to be added to make it cleaner to access them.
Okay, I've applies changes for points 1 and 2.