API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IHANDLER_HANDLEEVENT()

Brew Release
Brew MP 1.0.2
See Also
- Widget Events - IHandler Interface - IDecorator_HandleEvent()
Description
This function receives and handles events passed to an object implementing the handler interface from its owner. Objects implementing the handler interface must provide their own implementation of IHandler_HandleEvent(). For example, the decorator widget supplies its own event handler, IDecorator_HandleEvent(), which passes all received events directly to the child widget wrapped by the decorator object.
Params
p
[]:
A pointer to an IHandler object.
e
[]:
The event code being sent to the IHandler object.
w
[]:
16-bit event-specific parameter.
d
[]:
32-bit event-specific parameter.

Interface
Prototype
  •    boolean IHandler_HandleEvent(IHandler *p, AEEEvent e, uint16 w, uint32 d);
    
Return
  •    TRUE  --  If the event was handled by the object.
       FALSE --  If the event was not handled.
    
Side Effect
  • None
Comments
None