[Pharo-users] Re: [Roassal - Spec ] How can I trigger the refresh of an inspector pane

2022-09-25 Thread Pierre Misse Chanabier

Milton will probably correct me tomorrow, but in the meantime.
You need to send the message #refresh to the RoassalPresenter.
This will trigger the "script" that should have been defined.
(At least that's how it has worked for me).

For example:

- my initialization:

memorySpace := self instantiate: SpRoassalPresenter.
memorySpace script: [ :canvas | "My creation/refresh code" ].

- my update:

memorySpace refresh

Pierre

On 9/25/2022 4:01 PM, stephane ducasse wrote:

Hi

I have a roassal pane in my inspector to display quadtrees.
I added the possibility to add a point to the inspected quadtree.
But the pane does not refresh
I have to do it by hand
and I would like to know how I can force the inspector to refresh


[Pharo-users] [Roassal - Spec ] How can I trigger the refresh of an inspector pane

2022-09-25 Thread stephane ducasse
Hi 

I have a roassal pane in my inspector to display quadtrees. 
I added the possibility to add a point to the inspected quadtree.
But the pane does not refresh
I have to do it by hand
and I would like to know how I can force the inspector to refresh