Okay... So I guess this is the relevant bit in the manual:

I thought that ".event" was just a dictionary, not actually a function (method?) that was taking event names(and optional arguments) as its arguments. Obviously, I need to read more carefully... Thanks very much for pointing me in the right direction!

With that resolved, I think I'm getting very close to the endgame here!