<html><head></head><body>Hi, thank you for the reply. I'll check the two links. Between the first link and the book, which is it better? <br>--<br>Emanuele Petriglia (ema-pe)<br><br>Sent from my mobile. Please excuse my brevity.<br><br><div class="gmail_quote">On 23 January 2020 12:53:24 CET, Teodoro Santoni <asbrasbra@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br><br>2020-01-22 18:26 GMT+01:00, Emanuele Petriglia <inbox@emanuelepetriglia.com>:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi!<br><br> I would like to learn how to create a C graphical application without<br> using some toolkit for hobby. I know that there are two main libraries:<br> Xlib and xcb. The first is old but has a lot of documentation, the<br> second is newer but less documented than the first. So I was thinking to<br> learn Xlib and then xcb.<br><br> I found this book about Xlib: "XLIB Programming Manual" of Adrian Nye<br> published on 1994. I do not found any other recent book. Is it good to<br> start with Xlib even is it old?<br><br> --<br> Emanuele Petriglia (ema-pe)<hr> xorg@lists.x.org: X.Org support<br> Archives: <a href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a><br> Info: <a href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a><br> Your subscription address: %(user_address)s<br><br></blockquote><br><br>[1] is a guide that should be fairly valid on xlib.<br>From there you can afterwards embed xlib-xcb.h, gradually migrate from<br>xlib to xcb reading the docs, read the guide from iotek for fonts in<br>xcb without xft [2] or embed pango in your application.<br><br>[1] <a href="https://tronche.com/gui/x/xlib/">https://tronche.com/gui/x/xlib/</a><br>[2] <a href="https://venam.nixers.net/blog/unix/2018/09/02/fonts-xcb.html">https://venam.nixers.net/blog/unix/2018/09/02/fonts-xcb.html</a><br></pre></blockquote></div></body></html>