I am looking at how events are handled in the normal code and some of the mods. I am new to python and trying to understand the syntax.
Looking at the following file
CvEventInterface
The line:
normalEventManager = CvEventManager.CvEventManager()
I assume is instancing the Event Manager, but when I look in the CvEventManager class definition, I see lots of variables (attributes) and methods but none named CvEventmanager.
I'll go out on a limb here and guess that this is a python standard and that when a class in instanced with
classobj = className.className()
that the __init__ function is called?
This wasn't discussed in the tutorial I did, I'll head off to the python website and see if I can find the answer. But any help here would be appreciated.
Looking at the following file
CvEventInterface
The line:
normalEventManager = CvEventManager.CvEventManager()
I assume is instancing the Event Manager, but when I look in the CvEventManager class definition, I see lots of variables (attributes) and methods but none named CvEventmanager.
I'll go out on a limb here and guess that this is a python standard and that when a class in instanced with
classobj = className.className()
that the __init__ function is called?
This wasn't discussed in the tutorial I did, I'll head off to the python website and see if I can find the answer. But any help here would be appreciated.