How to start with X?
lucien.gentis at univ-lorraine.fr
Thu Jan 23 13:34:53 UTC 2020
There is also this tuto for xcb :
and this doc for Xlib programming with many examples :
Le 23/01/2020 à 12:53, Teodoro Santoni a écrit :
> 2020-01-22 18:26 GMT+01:00, Emanuele Petriglia <inbox at emanuelepetriglia.com>:
>> I would like to learn how to create a C graphical application without
>> using some toolkit for hobby. I know that there are two main libraries:
>> Xlib and xcb. The first is old but has a lot of documentation, the
>> second is newer but less documented than the first. So I was thinking to
>> learn Xlib and then xcb.
>> I found this book about Xlib: "XLIB Programming Manual" of Adrian Nye
>> published on 1994. I do not found any other recent book. Is it good to
>> start with Xlib even is it old?
>> Emanuele Petriglia (ema-pe)
>> xorg at lists.x.org: X.Org support
>> Archives: http://lists.freedesktop.org/archives/xorg
>> Info: https://lists.x.org/mailman/listinfo/xorg
>> Your subscription address: %(user_address)s
>  is a guide that should be fairly valid on xlib.
> From there you can afterwards embed xlib-xcb.h, gradually migrate from
> xlib to xcb reading the docs, read the guide from iotek for fonts in
> xcb without xft  or embed pango in your application.
>  https://tronche.com/gui/x/xlib/
>  https://venam.nixers.net/blog/unix/2018/09/02/fonts-xcb.html
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
More information about the xorg