Events
When the user operates on a window or object in a window, the action is reported through an event. The event handler callback procedure can be used to respond to such events. For example, when the user presses a button, the event handler callback procedures is called with two arguments: an integer representing the id of the button that triggered the event and another integer representing the event code XAD_EVENT_PRESSED. Or, when the user resizes a window by dragging its margins, the event is reported as a call to the event handler callback with the window id and XAD_EVENT_WINDOW_RESIZED as arguments.
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.