processing/processing — pull request #2512 by jdf (2014-05-14 03:14:34+00:00)
Title: Allow receiving video capture events without java reflection.

This permits Python mode sketches to receive capture events (without breaking compatibility with all existing Java-mode sketches that simply define captureEvent()).

Examples:

```python
def handleCaptureEvent(capture):
capture.read()
cam.setCaptureHandler(handleCaptureEvent)

# or even

cam.setCaptureHandler(lambda cam: cam.read())
```