I guess something like this could work...
```
d := {
Dictionary
with: #n -> 'whatever'
with: #d -> {
Dictionary with: #a -> #AA with: #b -> #BB.
Dictionary with: #c -> #CC with: #d -> #DD
}.
Hello!
Could anyone help me, please?
I have faced with a problem of TreeModel childrenBlock: for more complex
build in structure.
For example, I have anOrderedCollection of Dictionary, and in each
dictionary, there are exist associations, which values are
anArray(aDictionary, aDictionary ..
Now I understand. Thank you very much! =)
2017-04-01 17:48 GMT+03:00 Peter Uhnak :
> Hi,
>
> I wanted to point you to the new Spec book ( http://files.pharo.org/books-
> pdfs/spec/2017-01-23-SpecBooklet.pdf ), but apprently it's not there.
>
> Many Spec widgets have examples accompanying them, so
Hi,
I wanted to point you to the new Spec book (
http://files.pharo.org/books-pdfs/spec/2017-01-23-SpecBooklet.pdf ), but
apprently it's not there.
Many Spec widgets have examples accompanying them, so always check class side
(not for all though). For TreeModel you can see couple there - good
Hi!
Could anyone explain me how works childrenBlock: method from TreeModel?
step-by-step.
What data it operates? How makes a result?
Thanks a lot? Khrystyna.
--
View this message in context:
http://forum.world.st/How-childrenBlock-in-TreeModel-works-tp4940884.html
Sent from the Pharo Smallt