[PyKDE] [PyQt4] QWidget.winEvent()

Jürgen Urner jUrner at arcor.de
Wed Aug 2 21:34:05 BST 2006


I have a question regarding winEvent()

The Qt signature is QWidget::winEvent(MSG * message, long * result)
PyQt4 does not support the explicit result parameter.

def winEvent(msg):
    return False, id(msg)

How am I supposed to return a message result and stop Qt from
processing?

My best guess is:
- the first member of the return value is passed as msgResult
- any other (int) than False in this member will stop Qt from processing

Is this correct?

Thanks

    Juergen


















More information about the PyQt mailing list