When defining an EnumProperty, it is possible to associate with each of the EnumPropertyItems an integer value as well as an identifier. But how do you access or use these values?
For example, if a class definition contains
I must admit, I can’t even remember now what I was trying to do when I asked the question. But yes, using a Python dictionary is a sensible workaround.