The most important GLUT event a program must respond to is the display event. In fact, nothing is drawn until a display event occurs.
Typically a program will trigger a display event whenever the graphics display must be drawn or redrawn.
The function to register a display event handler in GLUT is glutDisplayFunc().