Photon microGUI widgets library 0.6.0
|
An event, which raise a notification to registered subscribers (event handlers) that something of interest has occurred. More...
#include <Widget.h>
Public Member Functions | |
void | add (callback_t value) |
add an event handler | |
void | remove (callback_t value) |
remove an event handler | |
void | raise (PtCallbackInfo_t *info) const |
raise an event More... | |
void | operator+= (callback_t value) |
add an event handler | |
void | operator-= (callback_t value) |
remove an event handler | |
void | operator() (PtCallbackInfo_t *info) const |
raise an event More... | |
An event, which raise a notification to registered subscribers (event handlers) that something of interest has occurred.
Event handlers must be Widget::callback_t type or convertable to it.
|
inline |
raise an event
invokes all event handlers that are subscribed to this event
|
inline |
raise an event
invokes all event handlers that are subscribed to this event