GUI events
GUI events are fired in order to inform the application about user actions and other changes, which may require interaction with the application. Most of GUI events might be handled in GUI event handlers. GUI event handlers are, typically implemented as context functions in a context class assigned to the control ( Assigning context classes to GUI resources ). GUI context classes inherit from odabagui::ControlContext class, which is based on odabagui::GUIBaseContext . Event handlers are described in odabagui::GUIBaseContext class.
Event handlers are provided as before handlers ( doBefore... ), which are called before changes take place, and after handlers ( doAfter... ), which are called, after changes have been completed. Usually, before events allow denying the action to be performed by means of an overloaded event handler.