[pygtk] Re: pygtk Digest, Vol 56, Issue 14

Alfonso Tarantini isit81 at fastwebnet.it
Tue Oct 16 03:21:54 WST 2007


> Hello
>
> I was wondering if any one knows of a tutorial/example set of how to use
> PyGtk in conjunction with Cairo to
> create rounded/transparent windows.
>
> Using Cairo isn't that important, any well documented way of doing this
> would be fine.
>
> I have already been to Cairo's home page, but most/all of the examples are
> about drawing inside a window,
> and not about manipulating the window shape etc.
>
> -felix
>   

I've never used it myself, but I think this will do the job:
http://www.pygtk.org/docs/pygtk/class-gdkwindow.html#method-gdkwindow--shape-combine-mask
It has nothing to do with Cairo.
Regards,
Alfonso



More information about the pygtk mailing list