Strange but I can't get this to work. If you run this in your shell, you see the dragCallback works just fine, but nothing is triggered when you drop.
Quick:
CODE
import maya.cmds as cmds
cmds.window()
cmds.columnLayout(dgc='print "drag"',dpc='print "drop"')
cmds.showWindow()
or as in maya docs:
CODE
import maya.cmds as cmds
def pythonDropTest( dragControl, dropControl, messages, x, y, dragType ):
print "test"
cmds.window()
cmds.columnLayout(dgc='print "drag"',dpc=pythonDropTest)
cmds.showWindow()
Still no response. What am I missing? Thanks for any help!
-mark