[Bf-python] Window.QRead() QAdd, QHandle

Tom Musgrove tommusgrove__ at hotmail.com
Fri Oct 15 00:20:58 CEST 2004


Hi,

I have a script that I'd like to pass everything that isn't handled back to 
Blender and let it handle it

...
evt, val = Window.QRead()

if evt = myevent: do stuff
else:
        id = Window.GetScreenInfo(Window.Types.VIEW3D)[0].get('id')
        Window.QAdd(id, evt, val)
        Window.QHandle(id)

So, I use RMB and MMB with key combos, expecting to be able to rotate, pan, 
etc. the object, but nothing is happening,

Am I supposed to be doing this differently?

Thanks,

Tom M.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement




More information about the Bf-python mailing list