Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Xlib Still Used?

Tags:

xlib

Is xlib still used? The helpful documentation I can find is http://tronche.com/ which looks, to me, very outdated. Who uses Xlib? Is GTK+ and QT built on it? thanks in advance, ell.

like image 636
Ell Avatar asked Feb 14 '11 22:02

Ell


2 Answers

Yes, toolkits like GTK+ and Qt are still built on Xlib. Migration to xcb is in progress, but far from complete or universal. Applications though really should be writing to the toolkit API's, not Xlib.

BTW, you can also find Xlib docs directly from the source at X.Org: http://www.x.org/releases/current/doc/

like image 185
alanc Avatar answered Oct 03 '22 13:10

alanc


These days, libxcb is used. There is also an xlib compatibility layer still available (xlib-xcb).

like image 24
user611775 Avatar answered Oct 03 '22 13:10

user611775