Just want to add my 2 cents of information from messing with this subject over the weekend...
To properly use cairo.Region() in Python one needs at least pycairo 1.8.10 (1.10.0 is current) for Python 3.x. For Python 2.x pycairo does not support/implement cairo.Region().
I've an example implementing "click-through" using cairo.Region() and cairo.RectangleInt() available here:
Just want to add my 2 cents of information from messing with this subject over the weekend...
To properly use cairo.Region() in Python one needs at least pycairo 1.8.10 (1.10.0 is current) for Python 3.x. For Python 2.x pycairo does not support/implement cairo.Region().
I've an example implementing "click-through" using cairo.Region() and cairo.Rectangle Int() available here:
http:// bazaar. launchpad. net/~macslow/ cairo-countdown /trunk/ view/head: /countdown. py