Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtAddEventHandlers()
Add several Pt_CB_RAW entries to a widget
Synopsis:
void PtAddEventHandlers(
PtWidget_t *widget,
PtRawCallback_t const *callback_defs,
unsigned int num_handlers );
Library:
ph
Description:
This function adds the number of event handlers specified by num_handlers to the Pt_CB_RAW callback list that belongs to widget.
The callback_defs argument points to an array of PtRawCallback_t, structures. See the Photon Widget Reference.
Examples:
See PtAddEventHandler().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtAddCallback(), PtAddCallbacks(), PtAddEventHandler(), PtAddFilterCallback(), PtAddFilterCallbacks(), PtAddHotkeyHandler(), PtRemoveEventHandler(), PtRemoveEventHandlers()
PtRawCallback_t, Pt_CB_RAW in the Photon Widget Reference
"Event handlers" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
