World Library  
Flag as Inappropriate
Email this Article

X Toolkit Intrinsics

Article Id: WHEBN0001481074
Reproduction Date:

Title: X Toolkit Intrinsics  
Author: World Heritage Encyclopedia
Language: English
Subject: Intrinsics, WxPerl, Dojo Toolkit, X Image Extension, Xnest
Collection: C Libraries, Graphics Libraries, X-Based Libraries
Publisher: World Heritage Encyclopedia

X Toolkit Intrinsics

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

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 and Motif.

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 and Motif.

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

  • X Toolkit Intrinsics - C Language Interface, X.Org Foundation
  • 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

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.