[Pharo-users] Re: Converting global coordinates from a mouse event

2025-03-04 Thread Mikael Svane
Thanks, but unfortunately that doesn’t work. The object stored in the image variable is an ImagePresenter, not a Morph, so it doesn’t understand globalPointToLocal:. However, the ImagePresenter contains an adapter (an SpMorphicBoxAdapter) which has a variable called widget containing an Alph

[Pharo-users] Re: Converting global coordinates from a mouse event

2025-03-04 Thread sducasseatwork--- via Pharo-users
I did a little search and I found Morph >> globalPointToLocal: aPoint ^self point: aPoint from: nil may be >image eventHandler whenMouseDownDo: [ :event | > > self handleMouseDown: event

[Pharo-users] MISS-ABMS course in Montpellier (September 2025)

2025-03-04 Thread bom...@cirad.fr
Hello, This is the announcement for the next Agent-Based Modelling course: MISS-ABMS, *M*ulti-platform*I*nternational*S*ummer*S*chool on*A*gent-*B*ased*M*odelling &*S*imulation for renewable resources management *MISS-ABMS 2025, 8-19 September 2025, Agropolis, Montpellier (France)* By takin