Removes from the screen any element that was previously added during the trial.
newText("helloworld", "Hello world!") .print() , newImage("smiley", "ya.png") .print() , newButton("erase", "Erase") .print() .wait() , clear() , newButton("void", "Enough with the emptiness") .print() .wait()
- Prints a line of
Buttonwith the text
"erase"to the screen.
- Remove the three elements from the screen when the
- Print a new
Buttonthat is waiting to be clicked to the screen.