Package nukescripts :: Module drop
[hide private]
[frames] | no frames]

Module drop

source code

Functions [hide private]
 
addDropDataCallback(callback)
Add a function to the list of callbacks.
source code
 
dropData(mimeType, text)
Handle data drops by invoking the list of callback functions until one has handled the event
source code
Variables [hide private]
  _gDropDataCallbacks = []
  __package__ = None
Function Details [hide private]

addDropDataCallback(callback)

source code 

Add a function to the list of callbacks. This function will called whenever data is dropped onto the DAG. Override it to perform other actions. If you handle the drop, return True, otherwise return None.