I wanna overlay some lines during a video playing. I'm using Python.<br>Using a "signal", I set the context :<br><br><a href="http://self.cr">self.cr</a> = widget.window.cairo_create()<br><br>and then "automatically", the drawing function is called:<br>
<br>def draw_overlay (self,cairooverlay,cr,timestamp,duration):<br> self.cr.set_source_rgb(0,0,0)<br> self.cr.set_line_width(10)<br> self.cr.move_to(10,15)<br> self.cr.line_to(20,20)<br> self.cr.stroke()<br>
<br>I got no errors, but no lines are drawn. <br>Suggestions?<br>Thanks in advance, <br><br>FB<br><br><br>