[PySide] Any workaround to access QtCore.MSG "message" field?

Gadiyar, Anand gadiyar at ti.com
Mon Jun 16 07:56:44 CEST 2014


I had posted this patch to gerrit last year.

John Ehresman had a comment that I had not followed up on. I’ll take another look at it and try to address his comment this week – I had forgotten about it. But the patch I posted works for me on Win7 x64 with both 32-bit and 64-bit builds of PySide.

Hope it helps,

From: pyside-bounces+gadiyar=ti.com at qt-project.org [mailto:pyside-bounces+gadiyar=ti.com at qt-project.org] On Behalf Of David Anes
Sent: Sunday, June 15, 2014 11:52 PM
To: pyside at qt-project.org
Subject: [PySide] Any workaround to access QtCore.MSG "message" field?

There is a bug (PYSIDE-84: https://bugreports.qt-project.org/browse/PYSIDE-84) that states that PySide.QtCore.MSG.message field (and wParam) is not populated... while this is sorted out, QCoreApplication::winEventFilter is unusable.

Has anyone had the chance to find a workaround to access the message type somehow? I would like even to read about "hackish" ways to achieve it.

Thank you a lot in advance.

David "kraptor" Anes Alcolea
* @kraptor<http://twitter.com/kraptor> @simlaps<http://twitter.com/simlaps>
* linkedin.com/in/davidanes<http://linkedin.com/in/davidanes>
* kraptor.com<http://kraptor.com> | simlaps.com<http://simlaps.com> | 900grados.es<http://900grados.es>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140616/dc0c5482/attachment.html>

More information about the PySide mailing list