X Toolkit Intrinsics

This article is about X toolkit. For compiler intrinsics, see Intrinsic function. For Telecom's XT Mobile Network, see XT Mobile Network.

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. It can be used in the C or C++ languages.

The low-level library Xlib is the client-side implementation of the X11 protocol. It communicates with an X server, but does not provide any function for implementing graphical control elements, such as e.g. buttons or menus. The Xt library provides support for creating and using graphical control elements, but does not provide any itself. Instead graphical control elements are implemented by other libraries using Xt, such as Xaw, Motif and OLIT.

A programmer can for example use the Xt library to create and use a new graphical control element, e.g. a "two-side button". Since the graphical user interface of applications typically requires a number of graphical control elements, most are reluctant to write own ones, and instead rather use the ones provided by libraries such as Xaw, Motif and OLIT.

Most modern toolkits such as FLTK, GTK+, and Qt do not use the Xt library, preferring to use Xlib or even XCB directly.

External links

This article is issued from Wikipedia - version of the 7/8/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.