[PyQt] Getting raw x11 events
Andreas Pakulat
apaku at gmx.de
Wed Mar 19 07:52:08 GMT 2008
On 18.03.08 23:52:59, Tro wrote:
> Hi.
>
> I'm trying to get at the raw x11 events by overriding the x11ProcessEvent()
> method in my PyQt QApplication-derived class, but it's never being called. In
> fact, QApplication doesn't seem to have a x11ProcessEvent() method that I
> could override.
QApplication does have that method, but it is not virtual so there's no
way to override it and getting it called. What you probably want is
x11EventFilter which is virtual and is exactly meant to be overriden in
case you need X11 events.
Andreas
--
Among the lucky, you are the chosen one.
More information about the PyQt
mailing list