Updates:
Status: FixReviewNeeded
Comment #1 on issue 6159 by
[hidden email]: Fix PluggableTreeMorph
to render whatever
http://code.google.com/p/pharo/issues/detail?id=6159Slice in the inbox
Here is an example snippet:
TreeModel new
roots: ({'chapeau'. 'lapin'. 'carotte'}collect: [:e | ButtonModel new
label: e asString;
yourself]);
displayBlock: [:e | e ];
childrenBlock: [:e ||result |
result := OrderedCollection new.
e label asString size > 1
ifTrue: [
e label asString do: [:c | result add: (ButtonModel new
label: c asString;
yourself)]].
result ];
openWithSpec
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker