I've been using the Spec2-wip.pdf - dated Feb 24, 2020. Is there a newer version? I see something updated about TinyChat - but I don't know how to get that as a pdf, and I doubt TinyChat will address my issues below.
I am using SpPresenter - with SpBoxLayouts for labels and buttons. (Pharo 8 stable 64bit)
I've been able to figure out (in a very heavy-handed way) how to update the widgets from my model object, and when the UI refreshes (on its own) my data appears. Very good.
What I can't seem to understand is, when model updates, there are times I want it to redisplay NOW - for instance, I want to display a 'saved' or 'correct' in a text field, for just a second or two, then allow the normal model update and display.
In my example, I have a button with a label (SpPresenter>>newButton) label: 'ABC'.
Once my model updates (with the button press action: ), the model is updated and the button label with then be 'DEF' and displays just fine.
However, what I'd like to be able to do is to update the button label (or any other widget label) and have it display immediately... something like, the button says 'ABC', I press the button, then it says 'Correct!' (pause for a second) and then proceeds with the normal update/redisplay process where the button label then displays 'DEF'. This example is changing a label, but I'd like to also change icons, colors, etc.
Clear? So I think my questions are:
Thanks for listening.
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
|Free forum by Nabble||Edit this page|