GNOME Bugzilla – Bug 666862
Gdk.Window.get_visible_region() raises TypeError: Couldn't find conversion for foreign struct 'cairo.Region'
Last modified: 2013-02-27 15:01:02 UTC
Calling the get_visible_region method of a Gdk.Window raises the TypeError. >>> from gi.repository import Gtk >>> win = Gtk.Window() >>> darea = Gtk.DrawingArea() >>> win.add(darea) >>> darea.realize() >>> darea.get_window().get_visible_region() Traceback (most recent call last):
+ Trace 229340
return info.invoke(*args, **kwargs)
I also tried get_clip_region method and got same error.
Confirming that this issue is still present in pygobject 3.2.0.
*** This bug has been marked as a duplicate of bug 667959 ***