tooltip.text

description

Resets the text of the tooltip.

syntax

getTooltip(ELEMENT_NAME).text(string)
  • string :

notes

  • Shows an interface to play the audio test.mp3 and attaches a tooltip at its bottom-right corner. The text will be updated after the audio has played, if the tooltip has not been validated, and therefore has not disappeared from the screen in the meantime.

since

beta 0.3

example(s)


@newAudio("sentence", "test.mp3")
@    .log()
@    .print()
@,
@newTooltip("instructions", "Use this interface to play and replay the audio as many times as you want")
@    .print( getAudio("sentence") )
@,
@getAudio("sentence")
@    .wait()
@,
@getTooltip("instructions")
$    .text("Feel free to replay if you want")
  • Shows an interface to play the audio test.mp3 and attaches a tooltip at its bottom-right corner. The text will be updated after the audio has played, if the tooltip has not been validated, and therefore has not disappeared from the screen in the meantime.