![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Add a filter callback to an application's callback list
void PtAddFilterCallback(
unsigned long event_mask,
int (*func)(void *,PtCallbackInfo_t *),
void *data);
ph
This function adds an event handler to the application's Pt_CB_FILTER callback list. The application invokes this handler whenever an event type that matches one of the bits in event_mask intersects with the application .
For more information, see the Manipulating Resources in Application Code chapter of the Photon Programmer's Guide.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtAppGetResources(), PtAppGetResource(), PtAppRemoveCallback(), PtAppRemoveFilterCallback(), PtAppSetResource(), PtAppSetResources(), PtSetArg().
"Event handlers" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |