Hello,<br><br>i've managed to write a little application in PyGTK which let the user draw some white figures (all by drawing a single line) on a green background :<br><ul><li>i tested it with a gtk.EventBox wrapping a gtk.DrawingArea</li>
<li>and with a gtk.EventBox wrapping a gtk.Label</li><li>the drawing are done thanks to cairo library<br></li></ul>Both works on my host system from eclipse ... So, no problem ?<br><br>In fact, there is one, really :<br><ul>
<li>first i "translated the application to sugar" without wrapping label or drawingArea in a EventBox : so that the background appears but it is impossible to draw in it</li><li>but when i "translate to sugar" the version using an EventBox, the background doesn't even appear, and it is impossible to draw in the sugar canvas. Notice also that the log file doesn't mention any python error</li>
</ul>I searched in the api in the sugar almanach place, but i didn't found anything that could help me.<br><br>So, what could be wrong, if my email give enough explanations ?<br><br>Regars<br>