9. X Toolkit   

The X Toolkit is made up of two distinct pieces, the Xt Intrinsics and a widget set - the Athena widget set which is a sample implementation of a widget set built upon the Intrinsics.

The following topics are discussed:


Intrinsic Library -Xt
Intrinsic Widget Library -Xaw
Terminology
Underlying Model
Input Focus
Using Widgets
Initializing the Toolkit
Creating a Widget
Common Resources
Resource Conversions
Realizing a Widget
Processing Events
Your first Xt Program!!
Standard Widget Manipulation Functions
Mapping Widgets
Destroying Widgets
Retrieving Widget Resource Values
Modifying Widget Resource Values
Your second Xt Program!!
Using the Client Callback Interface
Your third Xt Program!!
Changing Resource Values
Specifying Resources
Your fourth Xt Program!!
Creating Argument Lists
Surprise!!

9.26. Example Programs   

The best way to understand how to use any programming library is by trying some simple examples. A collection of example programs that introduces each of the widgets in that Athena widget set, as well as many important toolkit programming concepts, is available in the X11R5 release as distributed by MIT. It can be found in the directory

                      /usr/units/Xaw

/usr/units/Xt
Also look at the following WWW page:
http://www.cs.curtin.edu.au/units/cg252-502/notes/contents1.html#example_programs