The context defines the relationshp with the underlying window system.
You can use the context to get and set display and window properties that define window idle times, keyboard and multi-touch focus settings. You can also use the context to return the number of displays on the current system. A context can be associated with a single window, with a group of windows, or with one or more displays.
The following tasks describe how to perform basic context operations.