Trees | Indices | Toggle frames |
---|
Determine if the window should be closed.
This event handler watches for the ESC key or the window close event and sets self.has_exit to True when either is pressed. An instance of this class is automatically attached to all new pyglet.window.Window objects.
Deprecated: This class's functionality is provided directly on Window in pyglet 1.1.
on_close(self) | |
on_key_press(self, symbol, modifiers) |
bool |
has_exit = False
True if the user wants to close the window.
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:20 2009 | http://epydoc.sourceforge.net |