On 5/16/10 9:22 PM, JeahJeah wrote:
I'm embedding Mozilla, and want to rotate a shape in svg. I'm manipulating DOM elements from C++, and have a function that uses SetAttribute() to adjust the transform property of an SVG element, and then sends a message to the window to call the function again.
Is this message processed synchronously?
This is exactly how I do it in Javascript (except I'd use SetTimeout, instead of the window's callback), and there are no problems.
Note that setTimeout is not only asynchronous but rate-limited so it won't fire too often (the minimal timeout value is 10ms).
-Boris _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding