X Windows Xlib Programs Archive
I have developed the following series of simple examples that teaches you how to use the X Windows Xlib functions.
- xpoints : to draw dots in a window by clicking the left button.
- xxpoints : same as above but for more than one display.
- xlines : to draw line segments in a window by clicking the left button, then move and click again.
- xxlines : same as above but for more than one display and input from one.
- xylines: same as xxlines, but allows input from multiple users.
- xlines_shift : to draw line segments in a window by clicking the left button, then move and click again while the shift key is pressed.
- xrubber : to draw line segments as above but shows the line as a rubber band before the second click.
- xrubber2: to draw line segments as above but shows the line as a rubber band before the second click using XOR operator.
- xtext: shows how to write and delete text in a window.
- xbuttons, xbuttons2: shows how to build push buttons and execute functions associated with the buttons.
- xxchalk: to chow how to draw with a chalk in a white board.
- xxpointer: to chow how to use a pointer in a white board.
Back to CS476/576 Home Page