On 3/23/24 09:24, tlaro...@kergis.com wrote:
Furthermore, for example for xcb-proto, the python interface is one interface, but it is not mandatory (there is the primary C interface).
The python files in xcb-proto are not an alternative to the C interface provided in libxcb - they're the mechanism used to generate the C code for libxcb from the XML protocol descriptions in xcb-proto. They're only used to build libxcb, not at runtime by applications/clients. The python alternative API to libxcb was xpyb, but it's long been abandoned: https://gitlab.freedesktop.org/xorg/lib/xpyb/ and points to https://github.com/tych0/xcffib as a replacement now. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris