<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> > Is there an example of embedding the mozilla rendering<br>> engine into a
<br>> > sugar activity?<br>> ><br>><br>> sugar/tests/test-browser.py<br>><br>> What are you doing with it?<br>><br>> Marco<br>><br>><br>> I am wondering if it might be easier to design layouts for activities
<br>> with html and css (instead of pycairo), but want to ensure I will be<br>> able to inter-operate with sugar completely ( e.g., drag and drop).<br><br>That sounds like a bad idea. We are going to build controls that will
<br>make it easy to get the the visual appearance and the interaction<br>specified in the HIG. Throwing another graphic system in the game is<br>just going to cause duplication, inconsistencies and confusion.</blockquote>
<div><br><br>Perhaps there is a different approach to this... can I run a local http server on the xo that can function as a cgi and kids can interact with the html it produces through the browser activity? What would the path to that server be? It is possible that the local library activity might benefit from such a server to augment/complement the static html.
<br><br>Regardless of how this might be implemented, for the custom rendering of certain components (that lie outside of the HIG (e.g., a videogame)), using javascript & canvas & html might reduce many developers' time. Also, for applications that are going to run on both the xo locally and the school server, being able to use the same rendering engine might be helpful (maintaining a consistent look and feel across all platforms).
<br></div></div>