Benjamin wrote:
I gave this a try and indeed #whenBuiltDo: works from #initialize. However in PharoLauncher <Create Image> stopped updating the list. After a bit of a muddling around I found that I am prevented from registering the event "wherever I wanted", since the subscription does not go to theValueHolder but to the contents of theValueHolder. So the event really can only be registered when the ValueHolder content is set in the #repository: method.On 20 Jan 2014, at 14:37, [email protected] wrote: That is as far as I can push this for now. I have a working solution with previously proposed ComposableModel>>topWindowHolder and ComposableModel>>whenWindowClosed: so I will proceed with that. Any objections to pushing these into Pharo 3 at this late stage :) and I'll just make them extensions from PharoLauncher. cheers -ben
|
- [Pharo-dev] #windowIsClosing not sent to model of WindowModel btc
- Re: [Pharo-dev] #windowIsClosing not sent to model of Window... Benjamin
- Re: [Pharo-dev] #windowIsClosing not sent to model of Wi... btc
- Re: [Pharo-dev] #windowIsClosing not sent to model of Wi... btc
- Re: [Pharo-dev] #windowIsClosing not sent to model o... Benjamin
- Re: [Pharo-dev] #windowIsClosing not sent to mod... btc
- Re: [Pharo-dev] #windowIsClosing not sent t... Benjamin
- Re: [Pharo-dev] #windowIsClosing not se... btc
- Re: [Pharo-dev] #windowIsClosing no... Benjamin
- Re: [Pharo-dev] #windowIsClosing no... btc
- Re: [Pharo-dev] #windowIsClosing no... Benjamin
