the problem with BlPasteUpEventListener is that it is a complex listener that may be difficult to combine. what is the behaviour that you want to implement ? Drag@Drop into/from the pane and click management for each pane element individually ? Cheers Alain
On 15 Jul 2015, at 14:01, Stephan Eggermont <stephan@stack.nl> wrote:
I manage to get two clicks when I try adding another event listener to the D&D example. How do I combine them correctly?
addEventListener: (BlPluggableEventListener new whenClickDo: [ :evt | |aSubmorph| aSubmorph := (BlRectangleView new color: Color red; extent: 20 @ 20) asMorph. aSubmorph translateBy: 50 @ 50. whiteContainer addMorph: aSubmorph]; yourself); addEventListener: BlPasteUpEventListener new.
Stephan