Xlib

from Wikipedia, the free encyclopedia
Xlib
Basic data

Maintainer X.Org Foundation
developer X.Org Foundation
Publishing year 1985
Current  version 1.6.11
( August 6, 2020 )
operating system GNU / Linux, BSD operating system, unix-like system
programming language C.
category Program library
License ?
www.x.org , documentation:  x.org/xlib  (PDF)
Xlib, XCB and libraries based on them

Xlib is a program library, among other things, for drawing graphical user interfaces via the X Window System on Unix systems . As a client library for the X Window protocol in the X Window System, it regulates the interaction of clients with an X server . It makes transactions of the X Window protocol available via function calls in the C programming language . These functions create an abstraction that enables programming without having to worry about details of the protocol. Few applications use the library directly; instead, other libraries are usually used that use the Xlib functions to provide widgets , such as the X11 versions of the GUI toolkits Motif , Qt , FLTK , XForms or GTK + .

The Wayland versions of the Clutter , GTK +, Qt, SDL and EFL widget toolkits no longer use XLib, but instead libwayland-client.

The Xlib first appeared in 1985 and is still in use for the graphical user interfaces of many application programs. An alternative is the XCB library, which places particular emphasis on increased efficiency.

literature

Adrian Nye: Xlib programming manual (=  Definitive Guides to the X Window System ). 3. Edition. O'Reilly Media, 1994, ISBN 978-1-56592-002-6 .

Web links

Individual evidence

  1. Alan Coopersmith: libX11 1.6.11 . August 6, 2020 (accessed August 14, 2020).
  2. github.com