[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Problem with event.modifiers()
From:       Baz Walter <bazwal () ftml ! net>
Date:       2008-08-27 18:57:44
Message-ID: 48B5A3A8.6030104 () ftml ! net
[Download RAW message or body]

Hello

When trying to do certain bitwise operations on the object returned by 
QKeyEvent.modifiers() I get the following error:

TypeError: unsupported operand type(s) for |: 'KeyboardModifiers' and 'int'

Looking at the base class for this object, I see that it is of type 
'sip.wrapper', when it should be type 'int'.

Regards
Baz Walter
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic