On Wednesday 07 March 2007 8:07 pm, [EMAIL PROTECTED] wrote:
> Hello,
> I want to write application in PyQt 4 which will be using real transparency
> (ARGB visuals). Qt 4 doesn't have native support for top level widgets with
> ARGB visuals, but you can get around it by opening display with xlib /
> xrender and passing it to QApplication. There is simple example how to do
> it (in C++):
> http://zrusin.blogspot.com/2006/10/argb-windows.html
>
> But in PyQt 4, I can't do it, QApplication in PyQt 4 doesn't allow you to
> pass already opened display, visual and colormap to it. As I said, in Qt 4
> it isn't problem, look here:
> http://doc.trolltech.com/4.2/qapplication.html#QApplication-4
>
> So this is only limitation of PyQt 4, not Qt 4. Can you please fix it?

Where does the Display instance come from?

Phil

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to