Called when the text changes.
The text returned by this callback may be intermediate, which
means that it can change again in the near future. Text is
intermediate as long as the widget has some ink that has not been
w - Widget for which text changes.
text - String representation of the text.
intermediate - true if the text is an
intermediate handwriting recognition result, false
if the text is stable.