ZForms documentation/Handler

Used for element callbacks. To use these callbacks, inherit from this class and override the virtual functions you need.

Usage
Called when a button is clicked.

Parameters

 * caller: The button that triggered the callback.
 * command: The button's command.

Usage
Called when a button is held. Frequency is determined by the button's holdTicInterval variable.

Parameters

 * caller: The button that triggered the callback.
 * command: The button's command.

Usage
Called when the mouse moves over an element. It is called with the unhovered argument set to false when the mouse moves into the element's bounding box, and with the unhovered argument set to true when the mouse moves out of the element's bounding box.

Parameters

 * caller: The element that triggered the callback.
 * command: The element's command.
 * unhovered: Whether the mouse just left the element's bounding box.