It seems that cairo.Region replaced gdk.Rectangle in Gtk 3.0. However, the cairo.Region was not wrapped anywhere. How do we invalidate parts of a widget for redraw? I got:

    self.drawing_area.queue_draw_region(rect)
  File "/usr/lib/python2.7/site-packages/gi/types.py", line 44, in function
    return info.invoke(*args)
TypeError: Couldn't find conversion for foreign struct 'cairo.Region'

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to