Re: [Pharo-users] Spec ListModel synchronization

2016-03-31 Thread Robert J Rothwell
Thanks Johan, for your reply. That's great that there is a path forward with Spec; I think I'll be able to figure it out! I'll have to dig deeper into updateList, because right now the only thing it seems to do for me is clear any list selections, so I'm not sure if there is supposed to be a r

Re: [Pharo-users] Spec ListModel synchronization

2016-03-31 Thread Robert J Rothwell
Thanks Stephan, this is a very nice example of lots of Spec usage that I'm sure I can learn a lot from! As far as refreshing the list view, you did the same thing that I found to work by using the ListModel>>items: message, which in your case was very natural because you are creating a new, fil

Re: [Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Stephan Eggermont
In Pharo5, you can download Ancestry from the Catalog browser, that provides an example of this. https://vimeo.com/158063568 Stephan

Re: [Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Johan Fabry
Hi Bob, to answer your 2 questions briefly: Yes, Spec is here to stay for good, and the idea is that it can compose any kind of widgets, so with a bridge to OSWindow-SDL2 that should work as well. When changing items in the list, you need to inform the widget of that. To do that you need to ca

[Pharo-users] Spec ListModel synchronization

2016-03-30 Thread Rob Rothwell
Hello, It's been a while since I tried out Pharo. I always struggled with Morphic UI's, but I noticed Spec and there seemed to be enough examples floating around that I thought I'd give it another try. Is Spec "here to stay?" Is it worthwhile to figure it out? It seems like with the developing