In my current Image ----- C:\Smalltalk\Squeak5.1-16549-64bit-201608180858-Windows\Squeak5.1-16549-64bit-201608180858-Windows\Squeak5.1-16549-64bit.4.image Squeak5.1 latest update: #16551 Current Change Set: Example Image format 68021 (64 bit)
I am studying class #Object. The class comments identify two Class Variables: DependentsFields an IdentityDictionary EventsFields an IdentityDictionary
but the class definition only defines DependentsFields.
What am I missing here?
Thanks,
jrm
On Mon, Mar 19, 2018 at 8:12 PM, John-Reed Maffeo jrmaffeo@gmail.com wrote:
In my current Image
C:\Smalltalk\Squeak5.1-16549-64bit-201608180858-Windows\ Squeak5.1-16549-64bit-201608180858-Windows\Squeak5.1-16549-64bit.4.image Squeak5.1 latest update: #16551 Current Change Set: Example Image format 68021 (64 bit)
I am studying class #Object. The class comments identify two Class Variables: DependentsFields an IdentityDictionary EventsFields an IdentityDictionary
but the class definition only defines DependentsFields.
What am I missing here?
Hi. It looks like this comment is out of date for a while now. There is no EventsFields as you noted - the event handling mechanism migrated to the EventManager class quite a while ago. This comment should definitely be fixed (and will be shortly).
If you wish to follow this further, the method Object>>actionMap is how the appropriate EventManager instance is found. Further, the related methods are in the *System-Object Events-accessing method category (and sub-categories).
Thanks, cbc
Thanks,
jrm
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org