Graphics window usually only runs when our program

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: program program. Graphics window usually only runs when our program tells it to...which it does in gr.sleep() gr.sleep() function. Our program and graphics program explicitly take turns running. Closing the Graphics Window OS handles buttons and mouse actions. When graphics program is running, user clicks window's kill button. OS tells graphics program, which ( soon as i ll hi hi h (as it can run) kills the graphics window, and sends message to our program. Our program is in gr.sleep() function, gets gr.sleep() message, and returns False...
View Full Document

This note was uploaded on 04/14/2008 for the course ECS 10 taught by Professor Amenta during the Fall '07 term at UC Davis.

Ask a homework question - tutors are online