UIOBJECT ScriptObject

ScriptObject is an abstract widget type that provides support for widget scripts. Scripts can be set to trigger in response to some widget event, or as a result of user interaction. The specific scripts that are supported vary wildly from object to object, but all objects support setting, hooking and getting of object scripts.