Hello,
According to the Guide manual this can be a way to make a table widget: initialize | list | super initialize. "Create a collection of sightings data." list := TwoDList on: #('Vulcans' 188 173 192 'Romulans' 26 26 452) copy columns: 4 rows: 2. sightingsTable := SelectionInTable with: list. "Create a table interface and load it with the sightings." tableInterface := TableInterface new selectionInTable: sightingsTable. tableInterface columnWidths: #(100 40). I understand that tableInterface is the name which is typed in the aspect of the table widget. But where does sightinsTable comes from. Roelof _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
What class is the #initialize method in?
Check its class hierarchy for an instance variable named 'sightingsTable'
|
In reply to this post by Roelof
The previous line. SteveFrom: [hidden email] on behalf of Roelof Wobben Sent: Sat 19/04/2014 22:15 To: [hidden email] Subject: [vwnc] cannot undersyand the whole code Hello, _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
I found it . Its a instance variable.
Roelof Steven Kelly schreef op 19-4-2014 23:39:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |