== Python Space Handlers ==

Patch #9673: "Short patch to make spacehandler event scripts work more like normal python gui script handlers" by Steven Truppe:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=9673&group_id=9

This patch adds the Blender.eventValue variable available for space handlers, holding the event value (aka 1 for button and key presses, X or Y coordinate for mousex / mousey movement). Thanks, Steven. PS: this doesn't break existing scripts.
This commit is contained in:
2008-09-19 18:53:05 +00:00
parent 0f6fc0b207
commit 905983229a
7 changed files with 33 additions and 13 deletions

View File

@@ -61,6 +61,14 @@ The Blender Python API Reference
- L{World}
- L{sys<Sys>}
Additional information:
-----------------------
- L{API_related}:
- Calling scripts from command line
- Script links and space handlers
- How to register scripts in menus
- Recommended ways to document and support configuration options
Introduction:
=============