With the UI Designer's help, I have a simple button and also a label (Record_label).
In the button's Action code:
...
view["Record_label"].text = "START" # write to the label
time.sleep (2) # delay for a bit
view["Record_label"].text = "END" # write to the label
...
The problem that I'm having is that I only ever see the text "END" in the label.
However, if I put in a line of code between "START" and "END" that causes an error, the script halts and then I do see the "START" text.
So, I know that the "START" text is getting into the label, but the label's text field is only displaying the last modification (i.e., when the button's action terminates).
Does anyone know what I can do to have the label's text field immediately show what has been written to it?
Thanks much,
Bob