Nov. 23, 2013
6:01 p.m.
On Nov 23, 2013, at 6:55 PM, Lorenz Köhl <lorenz@quub.de> wrote:
Did you check the when* API of ListComposableModel?
Yes, the closest thing might be whenSelectionChanged but nothing regarding click events as I see it.
How do I register the event handler? I know about on:send:to
when:send:to:
In my ComposableModel the ListComposable model is 'attributes' so I did in initializeWidgets:
attributes when: #doubleClick send: #onDoubleClick to: self.
where the method logs to the transcript. But nothing shows up on a double click.
I suspect that spec has to setup the morphs it creates for handling (double)clicks and maybe it doesn't?
In which Pharo version are you? Latest 2.0
I strongly suggest to use 30 because spec changed a lot.
greetings, Lo