newbie question: Reading code difficulty.
Bob Arning
arning at charm.net
Thu Jan 17 11:05:49 UTC 2002
On Wed, 16 Jan 2002 17:45:31 EST CarlosIAm at aol.com wrote:
> I am trying to understand the code for PDA. In openAsMorphIn:win various
>PluggableListMorphs are created. In the first one
>PluggableListMorph on: self list: #peopleListItems
> selected: #peopleListIndex changeSelected: #peopleListIndex:
> menu: #peopleMenu: keystroke: #peopleListKey:from:)
>
>I go to the peopleListItems -> ^ peopleList collect: [:p | p asListItem]
>
>My Question: I fail to find where the peopleList instance variable is being
>initialized. The only method where that occurs is updatePeopleList and that
>is not called so far.
Carlos,
Are you sure? I added a
self halt.
at the beginning of PDA>>updatePeopleList. When I got a new PDAMorph from the menu or the objects tool, I hit it right away.
Cheers,
Bob
More information about the Squeak-dev
mailing list
|