[PyKDE] shaped windows and QWidget.setMask
Jonathan Gardner
jgardn at alumni.washington.edu
Fri Apr 5 00:51:42 BST 2002
On Thu, Apr 04, 2002 at 06:45:25PM -0100, Boudewijn Rempt wrote:
> On Thursday 04 April 2002 15:12, you wrote:
> > I think QWidget.setMask is what you are looking for. I was interested in
> > what it would take to do something with OpenGL and then using a mask,
> > and this is it apparently. I haven't actually used it yet, but like all
> > things Qt, I doubt there will be a problem.
> >
>
> The same question was answered on Usenet, where I answered with
> a working translation of that very example. However, since my
> computer got fried, I lost that code. But it was very simple, and
> a query on Google might even show the code.
>
It seems Google decided to throw away your attachment in the archives...
I'm curious. The TuXeyes code uses some calls to X to figure out where
the mouse is on the screen. Why did they do that? Can't they just call
QCursor.position()?
Jonathan
More information about the PyQt
mailing list