[PyKDE] converting enum types
Patrick Stinson
patrickkidd.lists at gmail.com
Thu Jun 8 14:55:11 BST 2006
It seems like everywhere that there is an enum value returned from a
function, like QInputEvent.modifiers(), you get a class defined by
pyqt. What is the idea behind returning an object of this type instead
of an int, and where do you need to construct one? I found the bitwise
operators in the pyqt4 class ref, so I assume they work just like
ints....
Thanks
--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/
More information about the PyQt
mailing list