PyQT and shaped windows in X

Boudewijn Rempt boud at valdyas.org
Sat Mar 2 12:22:53 EST 2002


Moray Taylor wrote:

> Hi,
> 
> Can anyone point me in the direction of an example of shaped windows
> using QT with Python, is the XLib module required? Is it even
> possible?
> 

Have you tried translating the tux example from the Qt examples directory?
I've attached a quick and dirty script. You should get the image from 
someplace yourself.

> BTW I have tried asking in the PyQT/PyKDE mailing list, but it wasn't
> considered to be a PyQT question, go figure.
> 

Well, it certainly isn't very Qt specific.

-- 
Boudewijn Rempt | http://www.valdyas.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tux.py
Type: text/x-java
Size: 788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20020302/b69032a3/attachment.java>


More information about the Python-list mailing list