SVGHMI: provide request_animate() to Widget authors so that they can register redraw code when events lead to redraw. Widget member animate() is called when it is time to update DOM.
from __future__ import absolute_importfrom svgui.pyjs.pyjs import *