How to redraw a list in smalltalk

I have a list in my smalltalk application that is updated by user events. The list is updated correctly, but it only redraws, reconstructs, or updates each time the window is forcibly redrawn. This way it will be displayed as intended, but only when I hide and then drag the window or drag it from the screen and then bring it back.

How to automatically change the application window each time the list is updated?

+3
source share
1 answer

I got this work by including in it:

self changed: #objectInList

In a way to change objects.

+3
source

Source: https://habr.com/ru/post/1751930/


All Articles