Class Variables in #Object

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
jrm
Reply | Threaded
Open this post in threaded view
|

Class Variables in #Object

jrm
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





_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
cbc
Reply | Threaded
Open this post in threaded view
|

Re: Class Variables in #Object

cbc
On Mon, Mar 19, 2018 at 8:12 PM, John-Reed Maffeo <[hidden email]> 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
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners