Hi all, I'm building a Spec UI with an ImageModel and a LabelModel. The image is a map, and the label should display the mouse coordinates when the mouse cursor is on the map.
I'm a newcomer to Pharo and Smalltalk, I've searched in the pharo image, and looked into events, on:send:to: message, but I don't know how to properly use them with Spec. For testing purpose I've tried just to get a mouse click with this: MyStuff >> initializeWidgets map := self newImage. mousePos := self newLabel. map on: #click send: #mouseClicked to: self But that doesn't work. Any idea how I can do this ? Thanks, Daniel