Open stuaxo opened 1 year ago
Hi,
The glfw-cairo project is oriented towards testing Cairo's ability to create simple user interfaces. I encourage you to use my examples, will be glad to see these examples in pycairo.
https://harbour.pl/glfw-cairo/
-- Rafał
I found this comment, which looks like it's out of date -
https://github.com/pygobject/pycairo/blob/7a725bd1a4e7ba1777835aab63d73de1a5d97399/cairo/__init__.pyi#L5292
python-xlib is an LGPL python binding with a current version (0.3, released Jul 02, 2021), which looks like a good fit. (It also has an examples directory which helps to get started).
@rjopek also has some C based xlib + cairo examples here, (placed under public domain): https://github.com/rjopek/xlib-cairo
We currently block instantiation here: https://github.com/pygobject/pycairo/blob/master/cairo/surface.c#L2323
Maybe we can allow this ?
The current situation leads to people using workarounds https://stackoverflow.com/questions/63606306/pycairo-how-to-correctly-instance-cairo-xlibsurface
I can't look any further right now as I'm not on my own computer.