Search results
Results from the WOW.Com Content Network
The types Windows, Pixmap, Font, Colormap, etc. are all identifiers, which are 32-bit integers (just as in the X11 protocol itself). A client 'creates' a window by requesting that the server create a window. This is done via a call to an Xlib function that returns an identifier for the window, that is, a number.
X Toolkit Intrinsics (also known as Xt, for X toolkit) is a library that implements an API to facilitate the development of programs with a graphical user interface (GUI) for the X Window System.
Beside Xlib, the XCB library operates more closely to X protocol. In particular, most clients use libraries such as Xaw, Motif, GTK+, or Qt which in turn use Xlib for interacting with the server. Qt switched from Xlib to XCB with the 5.0 release, but client programs were almost entirely unaffected by this change.
For example, a resource can specify that the background of every component of the xmail program must be red: xmail*background: red. However, when a program (e.g., the xmail program itself, when it wants to find out which background color to use) accesses the resource database via Xlib functions, it can only request the value of a specific resource.
Xlib/XCB uses the protocol layer of Xlib, but replaces the Xlib transport layer with XCB, and provides access to the underlying XCB connection for direct use of XCB. Xlib/XCB allows an application to open a single connection to the X display server and use both XCB and Xlib, possibly through a mixture of libraries designed for one or the other.
XForms is a GUI toolkit based on Xlib for the X Window System.It features a rich set of objects, such as buttons, scrollbars, and menus etc. In addition, the library is extensible and new objects can easily be created and added to the library.
Cairo supports output (including rasterisation) to a number of different back-ends, known as "surfaces" in its code.Back-ends support includes output to the X Window System, via both Xlib and XCB, Win32 GDI, OS X Quartz Compositor, the BeOS API, OS/2, OpenGL contexts (directly [7] and via glitz), local image buffers, PNG files, PDF, PostScript, DirectFB and SVG files.
Tgif saves drawings in a Prolog-based [2] plain text file format. Because the program is based on Prolog, [citation needed] there isn't a lot of support from other programs for reading the Tgif file format. Fonts are represented as PostScript font names. Originally, it was possible to print Tgif drawings in batch mode without using an X display ...