Sets the widget's handler function for a script
Signature:
ScriptObject:SetScript("scriptType",
handler)
Arguments:
scriptType
- A script type; see scripts for details (string
)handler
- A function to become the widget's handler for the script type (function
)