RWView signalUpdate

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RWView signalUpdate

Lusa Nicolas
Hi,

I noticed that with the recent changes that you made the view isn't updating anymore so I would like to update it by myself.
I saw that in RWView there is the method called signalUpdate which is supposed to update the view but when I call it actually nothing happens. The situation that I have when I use it:
- I have some objects in gray color displayed in my view.
- I change the color and update the element. At this point the view doesn't update automatically so they stay gray even though I changed the color
- I call signalUpdate on my view but nothing refreshes, the objects stay gray.

At first I thought the problem was that the instance variable signalUpdateCallback was not initialised since in the initialisation is set to be nothing. But then I noticed it is actually initialised in RWViewWindow so that should be fine.

I also have to say that my focus is not on the window that displays my objects but on another window in the same pharo image (just beside the window that contains the objects). Might that be the problem? Even though I have this  situation I really would like to update the view even though the focus is not on that window.
Any idea on how to make it work?

Thanks Nicolas.

P.S. any news on the possibility to distinguish different buttons interactions (i.e. distinguish left from right click of the mouse)?