Sets the widget's handler function for a script. Signature: Code 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)
Также смотрите: Скриптовый объект
Ссылки: http://wowprogramming.com/docs/widgets/ScriptObject/SetScript
|