The sample code for observers shows the callback method that looks like this:
myObserver(self, glyph, info)
+ The callback function needs to have exactly 3 arguments always?
+ The second argument is always an RGlyph?
+ The third argument is always a … what?
Fiddling around I got the following traceback:
Traceback (most recent call last):
File “lib/eventTools/eventManager.pyc”, line 76, in postEventObserver_glyph_info_
Just for my general information as I learn Robofont scripting, can I go look at that source code?
I’m just trying to figure out how to answer more of my own questions.