X Toolkit Intrinsics

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.

Xt (mint-green) in the X Window System graphics stack

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 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 could 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 developers are reluctant to write their own, and instead prefer to use libraries such as Xaw, Motif and OLIT.

Some other widely-used toolkits FLTK, GTK, and Qt do not use the Xt library. Rather, they use Xlib or XCB directly.

  • X Toolkit Intrinsics – C Language Interface (pdf), X.Org Foundation
  • "comp.windows.x.intrinsics Frequently Asked Questions". faqs.org. 1997-04-18. Retrieved 2008-07-13.
  • The place of Intrinsics in X11, Professor David Marshall, Cardiff School of Computer Science, Cardiff University
  • TestXt2, Example C program that creates a Menu Bar using just Xt/Xaw
  • McCormack, Joel; Asente, Paul (January 1988), "An overview of the X toolkit", UIST '88: Proceedings of the 1st annual ACM SIGGRAPH symposium on User Interface Software, pp. 46–55
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.