Next: XEvent Types Up: Xlib and Motif Previous: Two Dimensional Graphics


We should be familiar with the basic notion of events in Motif now - mouse button presses, mouse motion and keyboard presses can be used to action menu, buttons etc.

Usually we are happy to let Motif take care of event scheduling with the XtAppMainLoop() function and the the setting of appropriate callback resources for widgets.

Sometimes we may need to gain more control of events in X and also some XEvents mentioned here are important to the DrawingArea widget that we will study shortly. To do this we need to resort to Xlib.
Tue May 24 16:52:56 BST 1994