Next | Prev | Up | Top | Contents | Index

Using Xlib

This section explains how to use Xlib for creating windows, handling input, and performing other activities the OpenGL part of a program does not deal with. Since the complete example program in Chapter 2, "OpenGL and X: Getting Started" used widgets, this section starts with a complete annotated example program for Xlib, so you have both available as needed. After that, you learn about


Simple Xlib Example Program
Creating a Colormap and a Window
Xlib Event Handling

Next | Prev | Up | Top | Contents | Index