Nov. 23, 2013
5:55 p.m.
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
greetings, Lo