Jump to content
Wikipedia The Free Encyclopedia

X Toolkit Intrinsics

From Wikipedia, the free encyclopedia
Graphics library
This article is about X toolkit. For compiler intrinsics, see Intrinsic function. For Telecom's XT Mobile Network, see XT Mobile Network.
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations . Please help improve this article by introducing more precise citations. (August 2025) (Learn how and when to remove this message)

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 language (or any language that can use the C API, such as C++). Design took place late 1980s to early 1990s.[citation needed ]

Xt (mint-green) in the X Window System graphics stack
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 ("widgets"), such as buttons or menus. The Xt library provides support for creating widget types, but does not provide any itself. A programmer could use the Xt library to create and use a new type of widget. Xt implemented some object oriented concepts, such as inheritance (the user could make their own button by reusing code written for another type of button), events, and callbacks.

Since the graphical user interface of applications typically requires a number of widget types, most developers were reluctant to write their own, and instead prefer to use libraries such as Xaw, Motif and OLIT that provide a set of widgets.

Developers of Xt applications were expected to provide an "app-defaults Xrm database": text files describing the appearance, labels, and positions of all the widgets.[1] Although there was a way to put fallback resource specifications in the code, this was often not done, or not tested, and required totally different syntax than the database.[citation needed ]} This resulted in totally unusable apps if the correct database was not found during application initialization, (which could be complicated if the search path was changed by loading other resource files).[citation needed ]

Most modern, widely used toolkits such as GTK and Qt do not use the Xt library. Rather, they use Xlib or XCB directly.

References

[edit ]
  1. ^ Converse, Donna. "Loading the Resource Database". www.x.org. X Consortium. Retrieved 2025年10月16日.
Architecture
Extensions
Components
and notable
implementations
Display servers
Client libraries
Display managers
Session managers
Window managers
(comparison)
Compositing
Stacking
Tiling
Standards
Applications
Low-level platform-specific
On AmigaOS
On Classic Mac OS, macOS
On Windows
On Unix
On BeOS, Haiku
On Android
CLI
Low Level Cross-platform
CLI
C
Java
High-level, platform-specific
On AmigaOS
On Classic Mac OS, macOS
Object Pascal
Objective-C, Swift
C++
CLI
On Windows
CLI
C++
Object Pascal
On Unix and X11
High-level, cross-platform
C
C++
Objective-C
CLI
Adobe Flash
Go
Haskell
Java
JavaScript
Common Lisp
Lua
Pascal
Object Pascal
Perl
PHP
Python
Ruby
Tcl
XML
shell
Dart
Stub icon

This computer graphics–related article is a stub. You can help Wikipedia by expanding it.

Stub icon

This Unix-related article is a stub. You can help Wikipedia by expanding it.

Stub icon

This programming-language-related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /