The following event handlers can be implemented for most skin elements. The ambient event attributes accessed with the event keyword can be used within an event handler to determine the state of the keyboard and mouse at the time of the event.
When a skin attribute changes value, an event occurs that can be handled by an event handler. The name of the event handler is the name of the attribute followed by an underscore and "onchange", such as value_onchange.