Home > Products > GUI\HMI > Event Model
Zinc provides a flexible event driven architecture that includes event handlers, listeners, and callback functions.
Each window object has an event handler that can be overridden by deriving the object and overriding the Event member. Within the Event function you have the ability to override the behavior of the standard object and/or provide your own custom event processing to create your desired object behavior.
Each window object has the ability to associate a number of listeners to it. Each listener will be activated when events assigned for a specific listener are encountered.
Each window object can have a callback function associated with it that gets called when events are being processed by the window object. Within this callback function you have the ability to override the behavior of the standard object and/or provide your own custom event processing to create your desired object behavior.
Zinc ensures flexibility by providing a number of different methods for processing events. This allows application developers to select the method that best suits their needs. The following diagram shows the Zinc event model.
Download Zinc Data Sheet
Event Model Diagram